summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-31 17:05:48 +0100
committerTreeki <treeki@gmail.com>2012-10-31 17:05:48 +0100
commitd710e41ea797c940f4216e38e3626ebe50cdf6ae (patch)
treeb7c7ec0004227e72807beb28f7a86835fb9d5096 /src/koopatlas/pathmanager.cpp
parente7ffd801beef0f4b5e49db7d384fb3dd77c5a68c (diff)
downloadkamek-d710e41ea797c940f4216e38e3626ebe50cdf6ae.tar.gz
kamek-d710e41ea797c940f4216e38e3626ebe50cdf6ae.zip
fixed buttons not working on map
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r--src/koopatlas/pathmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index 237c595..5053fb8 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -331,8 +331,8 @@ bool dWMPathManager_c::evaluateUnlockCondition(u8 *&in, SaveBlock *save, int sta
bool dWMPathManager_c::doingThings() {
- if (isEnteringLevel || waitAfterUnlock ||
- waitAtStart || waitForAfterDeathAnim ||
+ if (isEnteringLevel || (waitAfterUnlock > 0) ||
+ (waitAtStart > 0) || (waitForAfterDeathAnim > 0) ||
(countdownToFadeIn > 0))
return true;