1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Refactor audio_sound_play_planned

This commit is contained in:
Dom Light
2015-11-17 23:05:24 +00:00
parent bbc58830f3
commit e9b7e41635
25 changed files with 157 additions and 113 deletions

View File

@@ -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;
audio_sound_play_panned(SOUND_WINDOW_OPEN, x + (width / 2), 0, 0, 0);
audio_play_sound_panned(SOUND_WINDOW_OPEN, x + (width / 2), 0, 0, 0);
}
w->number = 0;