diff options
author | Treeki <treeki@gmail.com> | 2012-11-10 17:15:51 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-11-10 17:15:51 +0100 |
commit | a1ca2b30e4f05037d2a0d60b821e2f8699ab8891 (patch) | |
tree | 2d8c5dcb8a0ec1c680e1e9b47d7a4880d6707277 /src/koopatlas/pathmanager.cpp | |
parent | 22915e16efa62f3169227f6121326cb5af5315ba (diff) | |
download | kamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.tar.gz kamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.zip |
pushed the very unfinished 4P
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index 5053fb8..155e27c 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -588,11 +588,15 @@ void dWMPathManager_c::startMovementTo(dKPPath_s *path) { player->hasSound = false; } - if (Animations[id].initialEffect) + if (Animations[id].initialEffect) { SpawnEffect(Animations[id].initialEffect, 0, &player->pos, 0, &player->scale); + daWMPlayer_c::instance->nextNowEffect = Animations[id].initialEffect; + } + if (Animations[id].initialSound != SE_NULL) { nw4r::snd::SoundHandle something; PlaySoundWithFunctionB4(SoundRelatedClass, &something, Animations[id].initialSound, 1); + daWMPlayer_c::instance->nextNowSound = Animations[id].initialSound; if (Animations[id].initialSound == SE_PLY_JUMP) { nw4r::snd::SoundHandle something2; |