summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-26 03:19:59 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-26 03:23:19 +0200
commit1895729b01532be9589d3606c331cc8f9ca9a9e3 (patch)
tree243b3526ea535df824d38fd1a3a4b841e1f63c4a /src/cgame/cg_event.c
parent7a9d256ea39e7ed8797801f8184e6ab7f27a21dc (diff)
More bug fixes for Wraith.
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index c1d4ee8..4ce475e 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -1177,8 +1177,9 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
break;
case EV_BLEED:
- if( cg_bleedSelfWounds.integer ||
- cent->currentState.number != cg.snap->ps.clientNum )
+ if( !warpingEnemyWraith &&
+ ( cg_bleedSelfWounds.integer ||
+ cent->currentState.number != cg.snap->ps.clientNum ) )
{
particleSystem_t *ps = NULL;
if( ci->team == TEAM_ALIENS )