summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5f38043..3b592d2 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -241,8 +241,10 @@ void dWMPathManager_c::execute() {
// handle path fading
if (countdownToFadeIn > 0) {
countdownToFadeIn--;
- if (countdownToFadeIn <= 0)
+ if (countdownToFadeIn <= 0) {
unlockingAlpha = 0;
+ MapSoundPlayer(SoundRelatedClass, SE_SYS_NEW_POINT, 1);
+ }
}
if (unlockingAlpha != -1) {
@@ -265,6 +267,7 @@ void dWMPathManager_c::execute() {
if (unlockingAlpha == 255) {
// we've reached the end
unlockingAlpha = -1;
+ MapSoundPlayer(SoundRelatedClass, SE_SYS_NEW_POINT_END, 1);
}
}
}