summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-02-25 13:03:43 +0100
committerenneract <trem.redman@gmail.com>2014-02-25 13:03:43 +0100
commitdac3d3127fc94231bdde0c0822bb12de01e9e836 (patch)
tree17829bc1a1b0ddb2d49421c5ea0114b4c2eff436 /src/game/g_weapon.c
parentcd9f8731a13a29d51a401f67ec2aa0b8962e01c8 (diff)
0.1.7
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 4a28083..e4399a4 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -768,8 +768,8 @@ void CheckCkitRepair( gentity_t *ent )
if( tr.fraction < 1.0f && traceEnt->spawned && traceEnt->health > 0 &&
traceEnt->s.eType == ET_BUILDABLE && traceEnt->buildableTeam == TEAM_HUMANS )
{
- if(BG_Buildable(traceEnt->s.modelindex,NULL)->cuboid)
- if(!BG_CuboidAttributes(traceEnt->s.modelindex)->repairable)
+ if( BG_Buildable( traceEnt->s.modelindex, NULL )->cuboid )
+ if( !BG_CuboidAttributes( traceEnt->s.modelindex )->repairable )
return;
bHealth = BG_Buildable( traceEnt->s.modelindex, traceEnt->cuboidSize )->health;