fix build

This commit is contained in:
Jasper St. Pierre
2024-07-01 23:45:16 -07:00
parent 05f1e29c10
commit db39a0968d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ public:
/* 0x2AC */ s32 mTimer;
/* 0x2B0 */ s32 mState;
/* 0x2B4 */ f32 mScale;
/* 0x010 */ u8 pad2[0x014];
/* 0x2B8 */ u8 pad2[0x010];
};
class dScnOpen_c : public scene_class {
+2 -2
View File
@@ -41,7 +41,7 @@ s32 dScnOpen_c::create() {
/* 80232BC4-80232CAC .text execute__10dScnOpen_cFv */
BOOL dScnOpen_c::execute() {
#if VERSION != VERSION_JPN
if (mpProc->field_0x2b0 >= 5 && !fopOvlpM_IsPeek() && !dComIfG_resetToOpening(this)) {
if (mpProc->mState >= 5 && !fopOvlpM_IsPeek() && !dComIfG_resetToOpening(this)) {
#else
if (!fopOvlpM_IsPeek() && !dComIfG_resetToOpening(this)) {
#endif
@@ -55,7 +55,7 @@ BOOL dScnOpen_c::execute() {
}
mpProc->proc_execute();
if (mpProc->field_0x2b0 == 44)
if (mpProc->mState == 44)
changeGameScene();
return TRUE;