mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Attempted fix of thunder crash
This commit is contained in:
@@ -228,7 +228,7 @@ static void climate_update_thunder_sound()
|
||||
if (_thunderStereoEcho) {
|
||||
// Play thunder on right side
|
||||
_thunderStereoEcho = 0;
|
||||
climate_play_thunder(1, _thunderSoundId, _thunderVolume, 10000);
|
||||
climate_play_thunder(1, _thunderSoundId == SOUND_THUNDER_1 ? SOUND_THUNDER_2 : SOUND_THUNDER_1, _thunderVolume, 10000);
|
||||
} else if (_thunderTimer != 0) {
|
||||
climate_update_lightning();
|
||||
climate_update_thunder();
|
||||
|
||||
Reference in New Issue
Block a user