From c06f59873c840859b865d1e6be7e5031664a8bc3 Mon Sep 17 00:00:00 2001 From: Petr Pudlak Date: Sat, 18 Oct 2014 22:14:16 +0200 Subject: Fix the message about upcoming Weak Sudden Death The number of seconds was calculated wrongly. --- src/game/g_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/g_main.c b/src/game/g_main.c index 481e1d1..9935b1c 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1288,9 +1288,9 @@ void G_CalculateBuildPoints( void ) level.weakSuddenDeathWarning < TW_IMMINENT ) { trap_SendServerCommand( -1, va( "cp \"Weak Sudden Death in %d seconds!\"", - (int)( G_TimeTilSuddenDeath( ) / 1000 ) ) ); + (int)( G_TimeTilWeakSuddenDeath( ) / 1000 ) ) ); trap_SendServerCommand( -1, va( "print \"Weak Sudden Death will begin in %d seconds.\n\"", - (int)( G_TimeTilSuddenDeath( ) / 1000 ) ) ); + (int)( G_TimeTilWeakSuddenDeath( ) / 1000 ) ) ); level.weakSuddenDeathWarning = TW_IMMINENT; } -- cgit