summaryrefslogtreecommitdiff
path: root/src/koopatlas
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas')
-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 c11e9d7..4651b3e 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -1096,6 +1096,9 @@ void dWMPathManager_c::startMovementTo(dKPPath_s *path) {
if (!isScalingUp)
playerScale = 0.0f;
+ } else if (scaleAnimProgress >= 0) {
+ // Keep the current scale
+ playerScale = player->scale.x;
}
player->visible = (path->animation != dKPPath_s::INVISIBLE);
@@ -1220,7 +1223,7 @@ void dWMPathManager_c::moveThroughPath(int pressedDir) {
dKPPath_s::JUMP, dKPPath_s::JUMP_SAND,
dKPPath_s::JUMP_SNOW, dKPPath_s::JUMP_WATER,
dKPPath_s::PIPE, dKPPath_s::DOOR,
- dKPPath_s::ENTER_CAVE_UP,
+ dKPPath_s::ENTER_CAVE_UP, dKPPath_s::INVISIBLE,
dKPPath_s::MAX_ANIM
};
bool allowed = true;