From 6c7152aada204bfdfa6e39cdfea5e10440e0ed36 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 25 Jun 2015 22:52:39 +0200 Subject: Bring back some Basilisk code as a base for Wraith. --- src/game/bg_pmove.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/game/bg_pmove.c') 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 ) { -- cgit