summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-02-17 02:55:04 +0000
committerTim Angus <tim@ngus.net>2003-02-17 02:55:04 +0000
commitfd57fb6f7e2cc60829d7634c8ab5cb9e892c6459 (patch)
treef299d52350356e408d4a535c5581d63b405bb153 /src/game
parent3bbc2a94f76d09a2ffabda0deb57dbbabe1bdada (diff)
* Aliens no longer employ weapon models
* Different attack animations triggered for primary, secondary etc..
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;
}