summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-11-15 13:21:41 -0600
committerColin Noga <Tempus@chronometry.ca>2012-11-15 13:21:41 -0600
commitada63c188cf80a3b8436b09d8eea0cb0d37a7586 (patch)
tree7d7f622d460ecbf62340bf53d8644d378a1df0e0 /src/koopatlas/pathmanager.cpp
parent486a7c1c98a072dee5b9e1c383962998da55d3bb (diff)
downloadkamek-ada63c188cf80a3b8436b09d8eea0cb0d37a7586.tar.gz
kamek-ada63c188cf80a3b8436b09d8eea0cb0d37a7586.zip
pathmanager fixes
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r--src/koopatlas/pathmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index 155e27c..002b400 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -571,8 +571,8 @@ void dWMPathManager_c::startMovementTo(dKPPath_s *path) {
player->rot.y = (Animations[id].forceRotation != -1) ? Animations[id].forceRotation : direction;
-
moveSpeed = (Animations[id].forceSpeed >= 0.0f) ? Animations[id].forceSpeed : 3.0f;
+ moveSpeed = path->speed * moveSpeed;
if (Animations[id].repeatEffect) {
player->hasEffect = true;
@@ -808,7 +808,7 @@ void dWMPathManager_c::activatePoint() {
u32 conds = save->GetLevelCondition(w, l);
SpammyReport("Toad House Flags: %x", conds);
- if (conds & 0xFF0) {
+ if (conds & 0x30) {
nw4r::snd::SoundHandle something;
PlaySoundWithFunctionB4(SoundRelatedClass, &something, SE_SYS_INVALID, 1);
return;