diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 13:40:35 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-05 13:40:35 +0200 |
commit | ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c (patch) | |
tree | 12152b094647544a8b6bac68fe7271f37996afd5 /src/audio | |
parent | Merge pull request #508 from Nick007J/master (diff) | |
download | re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.gz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.bz2 re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.lz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.xz re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.zst re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 523092fd..c30d6ecc 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -8277,8 +8277,8 @@ cAudioManager::ProcessVehicleHorn(cVehicleParams *params) if (params->m_pVehicle->GetStatus() != STATUS_PLAYER) { automobile->m_nCarHornTimer = Min(44, automobile->m_nCarHornTimer); if (automobile->m_nCarHornTimer == 44) - automobile->field_22D = (m_FrameCounter + m_sQueueSample.m_nEntityIndex) & 7; - if (!hornPatternsArray[automobile->field_22D][44 - automobile->m_nCarHornTimer]) + automobile->m_nCarHornPattern = (m_FrameCounter + m_sQueueSample.m_nEntityIndex) & 7; + if (!hornPatternsArray[automobile->m_nCarHornPattern][44 - automobile->m_nCarHornTimer]) return; } |