summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_buildable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c
index 207c6b49..d2bbe05b 100644
--- a/src/cgame/cg_buildable.c
+++ b/src/cgame/cg_buildable.c
@@ -1233,7 +1233,6 @@ void CG_Buildable( centity_t *cent )
team_t team = BG_Buildable( es->modelindex )->team;
float scale;
int health;
- float healthScale;
//must be before EF_NODRAW check
if( team == TEAM_ALIENS )
@@ -1450,7 +1449,6 @@ void CG_Buildable( centity_t *cent )
}
health = es->generic1;
- healthScale = (float)health / BG_Buildable( es->modelindex )->health;
if( health < cent->lastBuildableHealth &&
( es->eFlags & EF_B_SPAWNED ) )