summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/core.cpp2
-rw-r--r--src/makeYourOwnModelSprite.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 6101197..c6b0aef 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -408,7 +408,7 @@ int dScKoopatlas_c::onCreate() {
save->current_world = 6;
}
- if (MaybeFinishingLevel[0] == 7 && MaybeFinishingLevel[1] == 24) {
+ if (MaybeFinishingLevel[0] == 7 && MaybeFinishingLevel[1] == 24 && save->CheckLevelCondition(7, 24, COND_NORMAL)) {
currentMapID = 7; // KoopaPlanetUnd
save->current_world = 7;
isAfter8Castle = true;
diff --git a/src/makeYourOwnModelSprite.cpp b/src/makeYourOwnModelSprite.cpp
index 978e830..b1ff259 100644
--- a/src/makeYourOwnModelSprite.cpp
+++ b/src/makeYourOwnModelSprite.cpp
@@ -567,7 +567,6 @@ int dMakeYourOwn::onCreate() {
// setupAnim("anim38", 1.0);
break;
-
}
allocator.unlink();