More boolean cleanups.
[super-star-trek.git] / src / moving.c
index 126d3baa13ecd63c12158781a8ddfeefdf7c3a97..4621a1d7a9ccc10617934f9752377ee4bc299798 100644 (file)
@@ -113,7 +113,7 @@ void imove(void)
                skip(1);
                prout(_("Entering %s."), cramlc(quadrant, game.quadrant));
                game.quad[game.sector.x][game.sector.y] = game.ship;
-               newqad(0);
+               newqad(false);
                if (game.skill>SKILL_NOVICE) attack(0);
                return;
            }
@@ -242,7 +242,7 @@ void dock(bool verbose)
        (is_scheduled(FCDBAS) || game.isatb == 1) && game.iseenit == 0) {
        /* get attack report from base */
        prout(_("Lt. Uhura- \"Captain, an important message from the starbase:\""));
-       attakreport(0);
+       attakreport(false);
        game.iseenit = 1;
     }
 }
@@ -675,7 +675,7 @@ void setwrp(void)
     return;
 }
 
-void atover(int igrab) 
+void atover(bool igrab) 
 {
     double power, distreq;
 
@@ -824,7 +824,7 @@ void timwrp()
        postpone(FTBEAM, game.optime);
        game.damage[DRADIO] += game.optime;
     }
-    newqad(0);
+    newqad(false);
     events();  /* Stas Sergeev added this -- do pending events */
 }
 
@@ -943,7 +943,7 @@ void mayday(void)
        }
        /* Since starbase not in quadrant, set up new quadrant */
        game.quadrant = game.state.baseq[line];
-       newqad(1);
+       newqad(true);
     }
     /* dematerialize starship */
     game.quad[game.sector.x][game.sector.y]=IHDOT;