From c96977d5d3058311e8632a90e191979347d69eb4 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Mon, 1 Aug 2011 23:44:50 +0000 Subject: * (bug 5007) Minor improvements to target_*_win for better behavior in edge cases (/dev/humancontroller) --- src/game/g_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/g_main.c') diff --git a/src/game/g_main.c b/src/game/g_main.c index 44ed6182..5aea9b7a 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2055,7 +2055,8 @@ void CheckExitRules( void ) } if( level.uncondHumanWin || - ( ( level.time > level.startTime + 1000 ) && + ( !level.uncondAlienWin && + ( level.time > level.startTime + 1000 ) && ( level.numAlienSpawns == 0 ) && ( level.numLiveAlienClients == 0 ) ) ) { -- cgit