summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 6618650..3e325b5 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;