From d710e41ea797c940f4216e38e3626ebe50cdf6ae Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 31 Oct 2012 17:05:48 +0100 Subject: fixed buttons not working on map --- src/koopatlas/pathmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/koopatlas') 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; -- cgit v1.2.3