diff options
author | enneract <trem.redman@gmail.com> | 2014-12-06 23:34:48 +0100 |
---|---|---|
committer | enneract <trem.redman@gmail.com> | 2014-12-06 23:34:48 +0100 |
commit | 58903527dbf5fc7d8035ac2349174fe5f58ba2ac (patch) | |
tree | 34548ca5936b4157b9e608f71f6e83459de9d66a /src/game/g_main.c | |
parent | fd19ccb037e349286e3b72a1277c58079056fcc2 (diff) |
Add total BP counters to HUD.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |