summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_buildable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c
index e7b4d85..eed8e0e 100644
--- a/src/cgame/cg_buildable.c
+++ b/src/cgame/cg_buildable.c
@@ -920,8 +920,7 @@ static void CG_BuildableStatusDisplay( centity_t *cent )
VectorCopy( cent->lerpOrigin, origin );
// center point
- origin[ 2 ] += mins[ 2 ];
- origin[ 2 ] += ( abs( mins[ 2 ] ) + abs( maxs[ 2 ] ) ) / 2;
+ origin[ 2 ] += ( mins[ 2 ] + maxs[ 2 ] ) / 2;
entNum = cg.predictedPlayerState.clientNum;