summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 3cab52cd..4ae78987 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -806,6 +806,10 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
DEBUGNAME("EV_CHANGE_WEAPON");
trap_S_StartSound (NULL, es->number, CHAN_AUTO, cgs.media.selectSound );
break;
+ case EV_NEXT_WEAPON:
+ DEBUGNAME("EV_NEXT_WEAPON");
+ CG_NextWeapon_f( );
+ break;
case EV_FIRE_WEAPON:
DEBUGNAME("EV_FIRE_WEAPON");
CG_FireWeapon( cent );