summaryrefslogtreecommitdiff
path: root/src/engine/courses/YoshiValley.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-12-04 11:20:07 -0700
committerGitHub <noreply@github.com>2024-12-04 11:20:07 -0700
commitc774537ad36116909a0b43ecd28609df4ef386a8 (patch)
tree7be65a36bffc55d43c0931c1b25d3194461ef329 /src/engine/courses/YoshiValley.cpp
parentd830492da94f44369dac17db88461c0e9524ccd4 (diff)
parenteb158e2abd86579d3fa3c69436c3322cffd28d59 (diff)
Merge branch 'modding' into modding+modding+
Diffstat (limited to 'src/engine/courses/YoshiValley.cpp')
-rw-r--r--src/engine/courses/YoshiValley.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/courses/YoshiValley.cpp b/src/engine/courses/YoshiValley.cpp
index 6bbf50590..b372ec626 100644
--- a/src/engine/courses/YoshiValley.cpp
+++ b/src/engine/courses/YoshiValley.cpp
@@ -142,6 +142,12 @@ void YoshiValley::MinimapSettings() {
void YoshiValley::InitCourseObjects() {
size_t objectId;
size_t i;
+
+ //! @bug Skip spawning due to animation crash for now
+ if (gGamestate == CREDITS_SEQUENCE) {
+ return;
+ }
+
for (i = 0; i < NUM_YV_FLAG_POLES; i++) {
init_object(indexObjectList1[i], 0);
}