summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r--src/koopatlas/pathmanager.cpp10
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) {