mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fix VehicleTurretGun sound
This commit is contained in:
parent
fcc4e94655
commit
079555e43a
1 changed files with 3 additions and 1 deletions
|
@ -810,7 +810,8 @@ void VehicleTurretGun::UpdateSound(void)
|
|||
|
||||
case STT_OFF_TRANS_MOVING:
|
||||
m_fNextSoundState = level.time;
|
||||
m_eSoundState = STT_OFF;
|
||||
m_eSoundState = STT_MOVING;
|
||||
Sound(m_sSoundSet + "snd_move_start");
|
||||
break;
|
||||
|
||||
case STT_MOVING:
|
||||
|
@ -824,6 +825,7 @@ void VehicleTurretGun::UpdateSound(void)
|
|||
case STT_MOVING_TRANS_OFF:
|
||||
m_fNextSoundState = level.time;
|
||||
m_eSoundState = STT_OFF;
|
||||
StopLoopSound();
|
||||
Sound(m_sSoundSet + "snd_move_stop");
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue