diff options
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r-- | src/game/bg_pmove.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 3b36d9e..8ab7282 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -3482,6 +3482,15 @@ static void PM_Weapon( void ) // weapon.cfg switch( pm->ps->weapon ) { + case WP_ALEVEL1: + if( attack1 ) + { + num /= RAND_MAX / 6 + 1; + PM_ForceLegsAnim( NSPA_ATTACK1 ); + PM_StartWeaponAnim( WANIM_ATTACK1 + num ); + } + break; + case WP_ALEVEL2_UPG: if( attack2 ) { |