New debug-mode support.
[super-star-trek.git] / src / reports.c
index 8e4f070e02ab5c21a2e7431c482dfb8cc6fbef32..22a7cee19eafa012f2036e438a03ea27d75402fd 100644 (file)
@@ -21,7 +21,7 @@ void attakreport(int curt)
     } else {
         if (is_scheduled(FCDBAS))
            proutn("Base in %i - %i attacked by C. Alive until %.1f", game.battle.x, game.battle.y, scheduled(FCDBAS));
-        if (game.isatb == 1)
+        if (game.isatb)
            proutn("Base in %i - %i attacked by S. Alive until %.1f", game.state.kscmdr.x, game.state.kscmdr.y, scheduled(FSCDBAS));
     }
     clreol();