diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-07-29 00:44:27 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-07-29 00:44:27 +0300 |
commit | 7e2230cfbd419119ebb06b739a8d3949a563eb73 (patch) | |
tree | 8679c12dcc8698e8d3bae3abe11650ee444327c0 /src/game/g_main.c | |
parent | 417bea6ab0c4760891814292fc4c56ed21fbd41d (diff) |
Automatic level change at half-way to sd no longer kicks in when sd is disabled.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 70c3e49..dff13fe 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2229,7 +2229,8 @@ void CheckExitRules( void ) LogExit( "Aliens win." ); G_MapLog_Result( 'a' ); } - else if( level.time > level.suddenDeathBeginTime/2 && + else if( level.suddenDeathBeginTime != 0 && + level.time > level.suddenDeathBeginTime/2 && level.numAlienClients == 0 && level.numHumanClients == 0 ) { // Close to sudden death started but no clients connected |