diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 42f07eda..972ad1ef 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1197,6 +1197,10 @@ void G_CalculateBuildPoints( void ) else humanNextStageThreshold = -1; + // save a lot of bandwidth by rounding thresholds up to the nearest 100 + alienNextStageThreshold = ceil( (float)alienNextStageThreshold / 100 ) * 100; + humanNextStageThreshold = ceil( (float)humanNextStageThreshold / 100 ) * 100; + trap_SetConfigstring( CS_STAGES, va( "%d %d %d %d %d %d", g_alienStage.integer, g_humanStage.integer, g_alienCredits.integer, g_humanCredits.integer, |