summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-02-22 03:33:14 +0000
committerTim Angus <tim@ngus.net>2003-02-22 03:33:14 +0000
commit15c5420a47c341ba68ebf1537d610db42ad8ba5d (patch)
tree7115d4177fde921dd8ad1b4e5c0da429768fc0f9 /src/game/bg_pmove.c
parent9dea4c3a9f9ef389a79a40e7476527932c73a597 (diff)
* Removed "You fragged x" message
* Slowed down turrets * Increased points value of aliens * Hopefully fixed bank/armoury bugs (ps.persistant[] clamped to 16bits?) * G_Printf( ); only prints in nondedicated mode * Commented out annoying ClientUserinfo changed LogPrintf
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index f8615e30..16f67a6b 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -484,6 +484,25 @@ static qboolean PM_CheckPounce( void )
PM_AddEvent( EV_JUMP );
+ if( pm->cmd.forwardmove >= 0 )
+ {
+ if( !( pm->ps->persistant[ PERS_STATE ] & PS_NONSEGMODEL ) )
+ PM_ForceLegsAnim( LEGS_JUMP );
+ else
+ PM_ForceLegsAnim( NSPA_JUMP );
+
+ pm->ps->pm_flags &= ~PMF_BACKWARDS_JUMP;
+ }
+ else
+ {
+ if( !( pm->ps->persistant[ PERS_STATE ] & PS_NONSEGMODEL ) )
+ PM_ForceLegsAnim( LEGS_JUMPB );
+ else
+ PM_ForceLegsAnim( NSPA_JUMPBACK );
+
+ pm->ps->pm_flags |= PMF_BACKWARDS_JUMP;
+ }
+
return qtrue;
}