summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index 9c29b96b..7e7f7456 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -2627,7 +2627,12 @@ static void PM_TorsoAnimation( void )
return;
if( pm->ps->weaponstate == WEAPON_READY )
- PM_ContinueTorsoAnim( TORSO_STAND );
+ {
+ if( pm->ps->weapon == WP_BLASTER )
+ PM_ContinueTorsoAnim( TORSO_STAND2 );
+ else
+ PM_ContinueTorsoAnim( TORSO_STAND );
+ }
}
@@ -2727,7 +2732,12 @@ static void PM_Weapon( void )
pm->ps->weaponstate = WEAPON_READY;
if( !( pm->ps->persistant[ PERS_STATE ] & PS_NONSEGMODEL ) )
- PM_StartTorsoAnim( TORSO_STAND );
+ {
+ if( pm->ps->weapon == WP_BLASTER )
+ PM_ContinueTorsoAnim( TORSO_STAND2 );
+ else
+ PM_ContinueTorsoAnim( TORSO_STAND );
+ }
return;
}
@@ -2930,6 +2940,10 @@ static void PM_Weapon( void )
}
break;
+ case WP_BLASTER:
+ PM_StartTorsoAnim( TORSO_ATTACK2 );
+ break;
+
default:
PM_StartTorsoAnim( TORSO_ATTACK );
break;