summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:38:57 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:12 +0000
commit9be2d1add7fe8a18d1e7dc20bd25c33f0cd03ad2 (patch)
treefff69c7da1271724d240633f3677cd6723183648 /src/game
parent217ba13c618489a2c9d4d4384c42ce3d54b7959e (diff)
* Basilisk animation policy
* Fix broken lerping due to animating before positioning on parent tag
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_pmove.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 77f0a4a8..8c33a500 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -3267,6 +3267,16 @@ static void PM_Weapon( void )
// weapon.cfg
switch( pm->ps->weapon )
{
+ case WP_ALEVEL1_UPG:
+ case WP_ALEVEL1:
+ if( attack1 )
+ {
+ num %= 6;
+ PM_ForceLegsAnim( NSPA_ATTACK1 );
+ PM_StartWeaponAnim( WANIM_ATTACK1 + num );
+ }
+ break;
+
case WP_ALEVEL2_UPG:
if( attack2 )
{