game_loop: the game on the client side quit after the clients game timeout.. it was not set by the server

origin
stpohle 22 years ago
parent 769ab1db06
commit 40b877fe1c

@ -1,4 +1,4 @@
/* $Id: game.c,v 1.84 2004/05/25 22:22:29 stpohle Exp $ /* $Id: game.c,v 1.85 2004/05/26 22:21:41 stpohle Exp $
game.c - procedures for the game. */ game.c - procedures for the game. */
#include <string.h> #include <string.h>
@ -265,7 +265,7 @@ game_loop ()
&& bman.timeout >= 0.0 && (bman.gametype == GT_bomberman || map.state != MS_normal)) && bman.timeout >= 0.0 && (bman.gametype == GT_bomberman || map.state != MS_normal))
bman.timeout = 0.0f; bman.timeout = 0.0f;
if (bman.timeout < -GAME_OVERTIMEOUT) { if ((GT_SP || GT_MP_PTPM) && bman.timeout < -GAME_OVERTIMEOUT) {
d_printf ("GAME: Game Over\n"); d_printf ("GAME: Game Over\n");
done = 1; done = 1;
} }

Loading…
Cancel
Save