summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 017750c7..10e1dcd1 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -552,7 +552,9 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
case EV_NEXT_WEAPON:
DEBUGNAME( "EV_NEXT_WEAPON" );
- CG_NextWeapon_f( );
+
+ if( clientNum == cg.predictedPlayerState.clientNum )
+ CG_NextWeapon_f( );
break;
case EV_FIRE_WEAPON: