diff options
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r-- | src/game/bg_pmove.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 24e6940d..ebfe0b15 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2919,7 +2919,22 @@ static void PM_Weapon( void ) } if( !( pm->ps->persistant[ PERS_STATE ] & PS_NONSEGMODEL ) ) - PM_StartTorsoAnim( TORSO_ATTACK ); + { + //FIXME: this should be an option in the client weapon.cfg + switch( pm->ps->weapon ) + { + case WP_FLAMER: + if( pm->ps->weaponstate == WEAPON_READY ) + { + PM_StartTorsoAnim( TORSO_ATTACK ); + } + break; + + default: + PM_StartTorsoAnim( TORSO_ATTACK ); + break; + } + } else { if( pm->ps->weapon == WP_BIGMOFO ) |