diff options
author | Petr Pudlak <petr.mvd@gmail.com> | 2014-10-18 22:14:16 +0200 |
---|---|---|
committer | Petr Pudlak <petr.mvd@gmail.com> | 2014-10-18 22:14:16 +0200 |
commit | c06f59873c840859b865d1e6be7e5031664a8bc3 (patch) | |
tree | 7522408f14736df222ad559bd1fc5324a52fe258 /src/game/g_main.c | |
parent | c8e426354b1b42a6870e7e44c8e92a7fc0531ede (diff) |
Fix the message about upcoming Weak Sudden Death
The number of seconds was calculated wrongly.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |