summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-03-02 01:41:13 +0000
committerTim Angus <tim@ngus.net>2004-03-02 01:41:13 +0000
commit067178417e4bb3275f5b6a4475186a9bb3937652 (patch)
treec59bcbd20fff96cae5c2f15c0a7b57c7eb027cee /src/cgame/cg_weapons.c
parentc3cf4a2cf6b203359501e7f964512ba7e425e4b3 (diff)
* Changes to the way the chasecam is triggered
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;