summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index a5e4294..0238cc7 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -116,7 +116,7 @@ void dWMPathManager_c::setup() {
else
waitAtStart = -1;
- if (wm->currentMapID == 0 && wm->settings & 0x80000000)
+ if (wm->isFirstPlay)
waitAtStart = 280;
SpammyReport("saved path node: %d\n", save->current_path_node);
@@ -423,6 +423,9 @@ void dWMPathManager_c::execute() {
nw4r::snd::SoundHandle something;
PlaySoundWithFunctionB4(SoundRelatedClass, &something, SE_VOC_MA_CS_COURSE_MISS, 1);
}
+
+ if (dScKoopatlas_c::instance->isFirstPlay)
+ dScKoopatlas_c::instance->startMusic();
}
return;
}