From d8289eef899a0be82afbe22501f39f20e5b25d90 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 12 Aug 2003 02:42:17 +0000 Subject: * Disabled automatically bringing up spawn menus to prevent cutting off chat * EV_NEXT_WEAPON event now only triggers on the correct client * Creep slowdown totally reworked, it's now predicted and might actually work * Listboxes now have their selection set to 0 whenever displayed --- src/cgame/cg_event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cgame') 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: -- cgit