summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/creditsMgr.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp
index 058db4c..85f9a9a 100644
--- a/src/creditsMgr.cpp
+++ b/src/creditsMgr.cpp
@@ -117,6 +117,8 @@ class dCreditsMgr_c : public dActorState_c {
int fauxScrollFrame;
float fauxScrollMinX, fauxScrollMaxX, fauxScrollY;
+ VEC2 endingLockPositions[4];
+
danceInfo_s *danceCommand;
int danceTimer;
@@ -223,6 +225,9 @@ int dCreditsMgr_c::onExecute() {
}
player->setFlag(0x24);
player->rot.y = 0;
+ player->speed.x = player->speed.y = player->speed.z = 0.0f;
+ player->pos.x = endingLockPositions[i].x;
+ player->pos.y = endingLockPositions[i].y;
}
}
}
@@ -563,6 +568,9 @@ void dCreditsMgr_c::positionPlayers() {
u32 *pInactivityCounter = (u32*)(((u32)player) + 0x480);
*pInactivityCounter = 177;
+
+ endingLockPositions[i].x = player->pos.x;
+ endingLockPositions[i].y = player->pos.y;
}
}
}