summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-25 23:54:17 +0200
committerTreeki <treeki@gmail.com>2012-07-25 23:54:17 +0200
commitbe36e213f86dd1c27618b751ede25b2e89df6757 (patch)
treec689301c19106e5ec4fbd021127db378135c4684
parent72b37b585d7d6e5a69b572e20fd4f2bdbbc829e5 (diff)
downloadkamek-be36e213f86dd1c27618b751ede25b2e89df6757.tar.gz
kamek-be36e213f86dd1c27618b751ede25b2e89df6757.zip
new point sounds
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 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);
}
}
}