summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-25 22:04:03 +0100
committerTreeki <treeki@gmail.com>2013-02-25 22:04:03 +0100
commit0293c106b254d818038439cc9a9a51bdd677c2b3 (patch)
treea0995b0d5c4b74414e8b6653f4dd699c225fd45c
parent027164e4b4baa4ac02ad8647b9977798c540297a (diff)
downloadkamek-0293c106b254d818038439cc9a9a51bdd677c2b3.tar.gz
kamek-0293c106b254d818038439cc9a9a51bdd677c2b3.zip
a hacky thing for W7 on the warp zone
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index 8c31d96..335156f 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -1137,6 +1137,11 @@ void dWMPathManager_c::moveThroughPath(int pressedDir) {
if (lastLevel) {
wzHack = !(save->GetLevelCondition(lastLevel->worldSlot,lastLevel->levelSlot) & COND_NORMAL);
}
+
+ // another stupid thing
+ if (world->worldID == 7 && wzHack)
+ if (save->GetLevelCondition(9,24) & COND_NORMAL)
+ wzHack = false;
}
}