summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp
index 00092cd..e549871 100644
--- a/src/koopatlas/player.cpp
+++ b/src/koopatlas/player.cpp
@@ -53,6 +53,8 @@ int daWMPlayer_c::onExecute() {
mMtx myMatrix;
myMatrix.scale(scale.x, scale.y, scale.z);
myMatrix.applyTranslation(pos.x, pos.y + jumpOffset, pos.z);
+ if (dScKoopatlas_c::instance->warpZoneHacks && (currentAnim == jump || currentAnim == jumped))
+ myMatrix.applyTranslation(0, 0, 600.0f);
myMatrix.applyRotationX(&rot.x);
myMatrix.applyRotationY(&rot.y);
// Z is unused for now