in deathmatch the game didn't wanted to end.

origin
stpohle 21 years ago
parent c0941b11f6
commit 5d698dd000

@ -1,4 +1,4 @@
/* $Id: game.c,v 1.95 2004/09/26 22:34:02 stpohle Exp $ /* $Id: game.c,v 1.96 2004/09/30 20:35:09 stpohle Exp $
game.c - procedures for the game. */ game.c - procedures for the game. */
#include <string.h> #include <string.h>
@ -341,7 +341,7 @@ int game_check_endgame () {
if (h_team < 1 || ateam < 2) if (h_team < 1 || ateam < 2)
res = 1; res = 1;
} }
else if (bman.gametype == GT_bomberman) { else if ((bman.gametype == GT_bomberman) || (map.state != MS_normal && bman.gametype == GT_deathmatch)) {
int p_nr; // playernumber int p_nr; // playernumber
int h_alife = 0; // human players who are alife int h_alife = 0; // human players who are alife
int alife = 0; // ai players who are alife int alife = 0; // ai players who are alife

Loading…
Cancel
Save