mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix update_menu_level crash
This commit is contained in:
parent
ad2e84ed30
commit
7148f47f99
1 changed files with 3 additions and 1 deletions
|
|
@ -1498,7 +1498,9 @@ void update_menu_level(void) {
|
||||||
} else {
|
} else {
|
||||||
reset_volume();
|
reset_volume();
|
||||||
sound_banks_disable(SEQ_PLAYER_SFX, SOUND_BANKS_BACKGROUND);
|
sound_banks_disable(SEQ_PLAYER_SFX, SOUND_BANKS_BACKGROUND);
|
||||||
set_background_music(gCurrentArea->musicParam, gCurrentArea->musicParam2, 0);
|
if (gCurrentArea != NULL) {
|
||||||
|
set_background_music(gCurrentArea->musicParam, gCurrentArea->musicParam2, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (configMenuStaffRoll) {
|
if (configMenuStaffRoll) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue