summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 3fb7296f..25edb023 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -346,7 +346,7 @@ Get the number of build points from a position
*/
int G_GetBuildPoints( const vec3_t pos, team_t team, int extraDistance )
{
- if( level.suddenDeath )
+ if( G_TimeTilSuddenDeath( ) <= 0 )
{
return 0;
}