mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Use enum class for RCT2_SOUND (#9618)
* Use enum class for RCT2_SOUND * Fix formatting. Fix mistaken declaration. * Change name of enum to SoundId * Fix clang format
This commit is contained in:
@@ -143,7 +143,7 @@ rct_window* window_error_open(rct_string_id title, rct_string_id message)
|
||||
w->error.var_480 = 0;
|
||||
if (!gDisableErrorWindowSound)
|
||||
{
|
||||
audio_play_sound(SOUND_ERROR, 0, w->x + (w->width / 2));
|
||||
audio_play_sound(SoundId::Error, 0, w->x + (w->width / 2));
|
||||
}
|
||||
|
||||
return w;
|
||||
|
||||
Reference in New Issue
Block a user