fix build

This commit is contained in:
TakaRikka 2023-07-05 23:04:44 -07:00
parent 7011dc4dcc
commit 93d82399b3
1 changed files with 3 additions and 2 deletions

View File

@ -106,8 +106,9 @@ int daTagMwait_c::execute() {
} else {
mInitMsgFlow = false;
if (daPy_py_c::i_checkNowWolf() && midna_p != NULL && i_fopAcM_isSwitch(this, mOnSw)) {
if (mWarpToPos) {
if (daPy_py_c::i_checkNowWolf() && midna_p != NULL && i_fopAcM_isSwitch(this, mOnSw))
{
if (mWarpToPos == 1) {
midna_p->onTagWaitPosWarp(&mWaitPosition);
} else {
midna_p->onTagWaitPos(&mWaitPosition);