summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-26 11:34:41 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-26 13:17:24 +0200
commite99ab52825d6b713a12a8ee19b5eaa81e78db28e (patch)
tree6e05d09962f6c6109e799082de9f62796a5b905d /src/cgame/cg_weapons.c
parent1895729b01532be9589d3606c331cc8f9ca9a9e3 (diff)
More Wraith changes.
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 69b8b90..12c2d21 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1132,7 +1132,7 @@ void CG_AddPlayerWeapon( refEntity_t *parent, playerState_t *ps, centity_t *cent
}
- if( ps && ( cent->currentState.eFlags & EF_WARPING ) )
+ if( ps && cg.warping )
{
trap_S_AddLoopingSound( cent->currentState.number, cent->lerpOrigin,
vec3_origin, cgs.media.warpingSound );