From 7046c7d9dbb581241164dff567ee4710127418c7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 6 Apr 2002 19:39:48 +0000 Subject: Variable name change --- src/game/g_main.c | 8 ++++---- 1 file 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 ) ); -- cgit