diff options
author | Treeki <treeki@gmail.com> | 2012-10-31 00:50:54 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-31 00:50:54 +0100 |
commit | e7ffd801beef0f4b5e49db7d384fb3dd77c5a68c (patch) | |
tree | 41a6fcad926c1e92a4c4405e2d7d85b24f911eb7 /src/koopatlas/pathmanager.cpp | |
parent | 4e43d350d71fcbd90bc8e647aa53fc5152bb1de8 (diff) | |
download | kamek-e7ffd801beef0f4b5e49db7d384fb3dd77c5a68c.tar.gz kamek-e7ffd801beef0f4b5e49db7d384fb3dd77c5a68c.zip |
bugfixes and some cleanup
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index bb610e3..237c595 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -39,6 +39,7 @@ void dWMPathManager_c::setup() { if (LastPowerupStoreType == LOSE_LEVEL) { mustPlayAfterDeathAnim = true; daWMPlayer_c::instance->visible = false; + LastPowerupStoreType = BEAT_LEVEL; } SpammyReport("done\n"); @@ -329,6 +330,15 @@ bool dWMPathManager_c::evaluateUnlockCondition(u8 *&in, SaveBlock *save, int sta } +bool dWMPathManager_c::doingThings() { + if (isEnteringLevel || waitAfterUnlock || + waitAtStart || waitForAfterDeathAnim || + (countdownToFadeIn > 0)) + return true; + + return false; +} + void dWMPathManager_c::execute() { if (isEnteringLevel) { if (levelStartWait > 0) { |