summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 1f06c35a..4a24f12c 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1514,7 +1514,10 @@ void CG_NextWeapon_f( void )
return;
if( cg.snap->ps.pm_flags & PMF_FOLLOW )
+ {
+ trap_SendClientCommand( "followprev" );
return;
+ }
cg.weaponSelectTime = cg.time;
original = cg.weaponSelect;
@@ -1555,7 +1558,10 @@ void CG_PrevWeapon_f( void )
return;
if( cg.snap->ps.pm_flags & PMF_FOLLOW )
+ {
+ trap_SendClientCommand( "follownext" );
return;
+ }
cg.weaponSelectTime = cg.time;
original = cg.weaponSelect;