From 0293c106b254d818038439cc9a9a51bdd677c2b3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 25 Feb 2013 22:04:03 +0100 Subject: a hacky thing for W7 on the warp zone --- src/koopatlas/pathmanager.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; } } -- cgit v1.2.3