mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-18 07:05:27 -04:00
fix build
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user