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 b7df340..ad1c917 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 7011827..f4ab0b0 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1395,6 +1395,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; |