summaryrefslogtreecommitdiff
path: root/src/engine/World.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-01-13 21:15:16 -0700
committerGitHub <noreply@github.com>2025-01-13 21:15:16 -0700
commit04d56d6ba0705776149358608a27db8ab23e9449 (patch)
treeee699599021dde72fb4a2b8eb34792be53ec5ecd /src/engine/World.cpp
parent389f0f495131928cd620afee41095aff6683c8e9 (diff)
Fixes as per Sonic (#154)
* Fix imGUI game reset button * Fix course select cursor sound oob * Fix cloud rendering * Fix centering of tt race data cannot be saved by ghost * Impl chain chomp & bats * Fix retry crash * DebugMode On Skips intro logo menu * rename
Diffstat (limited to 'src/engine/World.cpp')
-rw-r--r--src/engine/World.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/World.cpp b/src/engine/World.cpp
index 7b6e053ff..5617efd39 100644
--- a/src/engine/World.cpp
+++ b/src/engine/World.cpp
@@ -14,6 +14,8 @@ extern "C" {
#include "main.h"
#include "engine/Engine.h"
#include "defines.h"
+ #include "audio/external.h"
+ #include "menus.h"
}
World::World() {}
@@ -69,6 +71,8 @@ u32 World::NextCup() {
CupIndex++;
CurrentCup = Cups[CupIndex];
CurrentCup->CursorPosition = 0;
+ reset_cycle_flash_menu();
+ play_sound2(SOUND_MENU_CURSOR_MOVE);
return CupIndex;
}
return Cups.size() - hack;
@@ -79,6 +83,8 @@ u32 World::PreviousCup() {
CupIndex--;
CurrentCup = Cups[CupIndex];
CurrentCup->CursorPosition = 0;
+ reset_cycle_flash_menu();
+ play_sound2(SOUND_MENU_CURSOR_MOVE);
return CupIndex;
}
return 0;