mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +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:
@@ -698,7 +698,7 @@ static void window_editor_object_selection_scroll_mousedown(rct_window* w, int32
|
||||
window_invalidate(w);
|
||||
|
||||
const CursorState* state = context_get_cursor_state();
|
||||
audio_play_sound(SOUND_CLICK_1, 0, state->x);
|
||||
audio_play_sound(SoundId::Click1, 0, state->x);
|
||||
|
||||
if (gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user