diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_public.h | 1 | ||||
-rw-r--r-- | src/game/g_main.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 2ca9e32..9edd57b 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -77,6 +77,7 @@ enum CS_CLIENTS_READY, CS_ALIEN_STAGES, CS_HUMAN_STAGES, + CS_BUILD_POOLS, CS_MODELS, CS_SOUNDS = CS_MODELS + MAX_MODELS, CS_SHADERS = CS_SOUNDS + MAX_SOUNDS, diff --git a/src/game/g_main.c b/src/game/g_main.c index 10df6c0..f41d8d3 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1404,6 +1404,11 @@ void G_CalculateBuildPoints( void ) level.humanBuildPoints += level.humanExtraBuildPoints; level.alienBuildPoints += level.alienExtraBuildPoints; } + + trap_SetConfigstring( CS_BUILD_POOLS, va( "a\\%d\\h\\%d", + g_alienBuildPoints.integer + level.alienExtraBuildPoints, + g_humanBuildPoints.integer + level.humanExtraBuildPoints ) ); + //zero bp not allowed // if( level.humanBuildPoints < 0 ) // level.humanBuildPoints = 0; |