summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_pmove.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 5c57a6f7..f8615e30 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -2611,7 +2611,13 @@ static void PM_Weapon( void )
PM_StartTorsoAnim( TORSO_ATTACK );
else
{
- PM_ForceLegsAnim( NSPA_ATTACK3 );
+ if( attack1 )
+ PM_ForceLegsAnim( NSPA_ATTACK1 );
+ else if( attack2 )
+ PM_ForceLegsAnim( NSPA_ATTACK2 );
+ else if( attack3 )
+ PM_ForceLegsAnim( NSPA_ATTACK3 );
+
pm->ps->torsoTimer = TIMER_ATTACK;
}