diff options
author | Treeki <treeki@gmail.com> | 2013-04-16 18:45:28 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-16 18:45:28 +0200 |
commit | 3b4ab96f75add8edb63186fb4acdd559f36a9e1f (patch) | |
tree | 667a612bffb0bcb7e79b4547854269cb695604cd /src/creditsMgr.cpp | |
parent | e0d004e290b52099d2fc85fdbb9485a47bb9c40a (diff) | |
download | kamek-3b4ab96f75add8edb63186fb4acdd559f36a9e1f.tar.gz kamek-3b4ab96f75add8edb63186fb4acdd559f36a9e1f.zip |
various credits bugfixes
Diffstat (limited to '')
-rw-r--r-- | src/creditsMgr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp index f625667..d66083d 100644 --- a/src/creditsMgr.cpp +++ b/src/creditsMgr.cpp @@ -30,6 +30,8 @@ extern VEC2 CameraLockPosition; extern char isLockPlayerRotation; extern s16 lockedPlayerRotation; +extern bool NoMichaelBuble; + mTexture_c efbTexture; bool getNextEFB = false; int thing = 0; @@ -155,6 +157,8 @@ dCreditsMgr_c *dCreditsMgr_c::build() { int dCreditsMgr_c::onCreate() { + NoMichaelBuble = true; + instance = this; if (!loadLayout()) @@ -529,9 +533,13 @@ void dCreditsMgr_c::positionPlayers() { player->pos.y = -(entrance->yPos + 16); player->direction = 0; player->rot.y = 0x3000; + player->speed.x = player->speed.y = player->speed.z = 0.0f; dPlayerModelHandler_c *pmh = (dPlayerModelHandler_c*)(((u32)player) + 0x2A60); pmh->mdlClass->startAnimation(0, 1.0f, 0.0f, 0.0f); whichPos++; + + u32 *pInactivityCounter = (u32*)(((u32)player) + 0x480); + *pInactivityCounter = 177; } } } |