From 5d698dd0009464dc9155eff71c32abb658a2b875 Mon Sep 17 00:00:00 2001 From: stpohle Date: Thu, 30 Sep 2004 20:35:09 +0000 Subject: [PATCH] in deathmatch the game didn't wanted to end. --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index c58f0b1..54fb937 100644 --- a/src/game.c +++ b/src/game.c @@ -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. */ #include @@ -341,7 +341,7 @@ int game_check_endgame () { if (h_team < 1 || ateam < 2) 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 h_alife = 0; // human players who are alife int alife = 0; // ai players who are alife