summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormtiusane <mtiusane@users.noreply.github.com>2014-10-19 21:25:09 +0300
committermtiusane <mtiusane@users.noreply.github.com>2014-10-19 21:25:09 +0300
commitdacb45bb2b1ca96a9fbd51b8380f5b10f1ce2123 (patch)
treeb50683a3743fe4fa75037d77bc4e9874b80baf61 /src/game
parent6a2088d0eabf9df6568836b42d0dc436e19ecf17 (diff)
parentc06f59873c840859b865d1e6be7e5031664a8bc3 (diff)
Merge pull request #13 from ppetr/wsd
Fix the message about upcoming Weak Sudden Death
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 39b92a4..7011827 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1292,9 +1292,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;
}