summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-13 16:11:21 +0200
committerTreeki <treeki@gmail.com>2013-05-13 16:11:21 +0200
commitb89acd21a542e8b9023a5f987ee3313e9eaef19b (patch)
treee45ecb12b80b206729a659166a1e78af7380d679 /src
parent5c519288c928f4136b973613733e70b829dda480 (diff)
downloadkamek-b89acd21a542e8b9023a5f987ee3313e9eaef19b.tar.gz
kamek-b89acd21a542e8b9023a5f987ee3313e9eaef19b.zip
fix the 8-Tower1 death bug
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;