From 3b4ab96f75add8edb63186fb4acdd559f36a9e1f Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 16 Apr 2013 18:45:28 +0200 Subject: various credits bugfixes --- src/creditsMgr.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } } } -- cgit v1.2.3