summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index acaee42..5cf029c 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -391,12 +391,6 @@ void dWMPathManager_c::execute() {
activatePoint();
if (pressedDir >= 0) {
- static u16 xangles[] = {-0,0,0x1800,-0x1800};
- daWMPlayer_c::instance->rot.x = xangles[pressedDir];
-
- static u16 zangles[] = {-0x1800,0x1800,0,0};
- daWMPlayer_c::instance->rot.z = zangles[pressedDir];
-
if (canUseExit(currentNode->exits[pressedDir])) {
startMovementTo(currentNode->exits[pressedDir]);
} else {
@@ -519,10 +513,6 @@ void dWMPathManager_c::startMovementTo(dKPPath_s *path) {
player->rot.y = (Animations[id].forceRotation != -1) ? Animations[id].forceRotation : direction;
- OSReport("Rot.y = %08x", player->rot.y);
- player->rot.x = (player->rot.y < 0) ? -((player->rot.y + 0x4000) * 0x1800 / 0x8000 * 2) : (player->rot.y - 0x4000) * 0x1800 / 0x8000 * 2;
- player->rot.z = (player->rot.y < 0) ? -((player->rot.y + 0x8000) * 0x1800 / 0x8000 * 2) : (player->rot.y ) * 0x1800 / 0x8000 * 2;
-
moveSpeed = (Animations[id].forceSpeed >= 0.0f) ? Animations[id].forceSpeed : 3.0f;
@@ -753,8 +743,6 @@ void dWMPathManager_c::activatePoint() {
MapSoundPlayer(SoundRelatedClass, SE_SYS_GAME_START, 1);
daWMPlayer_c::instance->startAnimation(170, 1.2, 10.0, 0.0);
daWMPlayer_c::instance->rot.y = 0;
- daWMPlayer_c::instance->rot.x = -0x1800;
- daWMPlayer_c::instance->rot.z = 0;
isEnteringLevel = true;
levelStartWait = 40;