Clean up some boolean arguments.
[super-star-trek.git] / src / sst.c
index 00e384e0520f2b4f6af7f3e6a7d8624c43e0bb60..ed1fa124d16c4ca8ab83ebd30bac292ff938a865 100644 (file)
--- a/src/sst.c
+++ b/src/sst.c
@@ -469,8 +469,8 @@ static void makemoves(void)
            }
            break;
        case DOCK:                      // dock
-           dock(1);
-           if (game.ididit) attack(0);
+           dock(true);
+           if (game.ididit) attack(false);
            break;
        case DAMAGES:                   // damages
            dreprt();
@@ -586,7 +586,7 @@ static void makemoves(void)
                continue;
            }
            if (hitme && !game.justin) {
-               attack(2);
+               attack(true);
                if (game.alldone) break;
                if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova) {    // went NOVA! 
                    atover(false);