mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Sanitize audio.h
This commit is contained in:
@@ -397,7 +397,7 @@ rct_window *window_create(int x, int y, int width, int height, rct_window_event_
|
||||
// Play sounds and flash the window
|
||||
if (!(flags & (WF_STICK_TO_BACK | WF_STICK_TO_FRONT))){
|
||||
w->flags |= WF_WHITE_BORDER_MASK;
|
||||
sound_play_panned(SOUND_WINDOW_OPEN, x + (width / 2), 0, 0, 0);
|
||||
audio_sound_play_panned(SOUND_WINDOW_OPEN, x + (width / 2), 0, 0, 0);
|
||||
}
|
||||
|
||||
w->number = 0;
|
||||
|
||||
Reference in New Issue
Block a user