diff options
Diffstat (limited to 'games/robots/play_level.c')
-rw-r--r-- | games/robots/play_level.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/robots/play_level.c b/games/robots/play_level.c index 8f5e1d405e8..07450f00f2a 100644 --- a/games/robots/play_level.c +++ b/games/robots/play_level.c @@ -1,3 +1,4 @@ +/* $OpenBSD: play_level.c,v 1.2 1998/07/09 04:34:20 pjanzen Exp $ */ /* $NetBSD: play_level.c,v 1.3 1995/04/22 10:09:03 cgd Exp $ */ /* @@ -47,10 +48,10 @@ static char rcsid[] = "$NetBSD: play_level.c,v 1.3 1995/04/22 10:09:03 cgd Exp $ * play_level: * Let the player play the current level */ +void play_level() { register COORD *cp; - register int y, x, bonus; move(My_pos.y, My_pos.x); addch(PLAYER); @@ -62,14 +63,14 @@ play_level() addch(ROBOT); } refresh(); -# ifdef DEBUG +#ifdef DEBUG standout(); move(Min.y, Min.x); addch(inch()); move(Max.y, Max.x); addch(inch()); standend(); -# endif DEBUG +#endif DEBUG setjmp(End_move); flush_in(); while (!Dead && Num_robots > 0) { |