summaryrefslogtreecommitdiff
path: root/src/cgame/cg_ents.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2015-01-25 23:47:16 +0200
committerMikko Tiusanen <ams@daug.net>2015-01-25 23:47:16 +0200
commit56382169c394bc6a1e63a91fdd59b58ac3974986 (patch)
treeca7b9e762d4dfc7a11bc01e7dcbe072f465dc343 /src/cgame/cg_ents.c
parent67948a489d2a07b94b6d5a3eeb2b642146865a61 (diff)
Fixed compiler warnings in all game, cgame sources.
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r--src/cgame/cg_ents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c
index 7b27579..a9663ad 100644
--- a/src/cgame/cg_ents.c
+++ b/src/cgame/cg_ents.c
@@ -836,7 +836,7 @@ void CG_AdjustPositionForMover( const vec3_t in, int moverNum, int fromTime, int
{
centity_t *cent;
vec3_t oldOrigin, origin, deltaOrigin;
- vec3_t oldAngles, angles, deltaAngles;
+ vec3_t oldAngles, angles/*, deltaAngles*/;
if( moverNum <= 0 || moverNum >= ENTITYNUM_MAX_NORMAL )
{
@@ -859,7 +859,7 @@ void CG_AdjustPositionForMover( const vec3_t in, int moverNum, int fromTime, int
BG_EvaluateTrajectory( &cent->currentState.apos, toTime, angles );
VectorSubtract( origin, oldOrigin, deltaOrigin );
- VectorSubtract( angles, oldAngles, deltaAngles );
+ // VectorSubtract( angles, oldAngles, deltaAngles );
VectorAdd( in, deltaOrigin, out );