diff options
author | Tim Angus <tim@ngus.net> | 2002-04-06 19:39:48 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-04-06 19:39:48 +0000 |
commit | 7046c7d9dbb581241164dff567ee4710127418c7 (patch) | |
tree | ddaf598a99010d5f7709bedf79170e37fbf27db9 /src | |
parent | 72e2384c956fef75e9db68e9ec134ace6d05a04e (diff) |
Variable name change
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 8ecc0d73..cd19b184 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -808,10 +808,10 @@ void calculateBuildPoints( void ) int bclass; gentity_t *ent; int localHTP = g_humanBuildPoints.integer, - localDTP = g_alienBuildPoints.integer; + localATP = g_alienBuildPoints.integer; level.humanBuildPoints = level.humanBuildPointsPowered = localHTP; - level.alienBuildPoints = localDTP; + level.alienBuildPoints = localATP; for ( i = 1, ent = g_entities + i ; i < level.num_entities ; i++, ent++ ) { @@ -845,13 +845,13 @@ void calculateBuildPoints( void ) if( level.alienBuildPoints < 0 ) { - localDTP -= level.alienBuildPoints; + localATP -= level.alienBuildPoints; level.alienBuildPoints = 0; } trap_SetConfigstring( CS_BUILDPOINTS, va( "%d %d %d %d %d", level.alienBuildPoints, - localDTP, + localATP, level.humanBuildPoints, localHTP, level.humanBuildPointsPowered ) ); |