diff options
Diffstat (limited to 'games/robots')
-rw-r--r-- | games/robots/move.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/robots/move.c b/games/robots/move.c index 5208da7..c381046 100644 --- a/games/robots/move.c +++ b/games/robots/move.c @@ -60,7 +60,8 @@ get_move() lastmove = *Next_move; else lastmove = -1; /* flag for "first time in" */ - } + } else + lastmove = 0; /* Shut up gcc */ #endif for (;;) { if (Teleport && must_telep()) |