b_gnd equivalent (#2340)

* b_gnd equivalent

* fix dEvt_info_c inlines

* fix some more inlines
This commit is contained in:
TakaRikka
2025-03-23 12:55:28 -07:00
committed by GitHub
parent 4dc0cd9d09
commit a4cdad86f4
178 changed files with 4611 additions and 5262 deletions
+3 -3
View File
@@ -344,7 +344,7 @@ static void action(sq_class* i_this) {
break;
}
if (i_this->mMessageState == 1 && daPy_py_c::i_checkNowWolf()
if (i_this->mMessageState == 1 && daPy_py_c::checkNowWolf()
&& i_this->mPlayerDist < 300.0f) {
i_this->mAction = sq_class::ACT_MESSAGE;
i_this->mMode = 0;
@@ -413,10 +413,10 @@ static int message(sq_class* i_this) {
i_this->mIsTalking = 1;
}
if (i_this->mMessageState == 2 && i_this->mFlowID != -1 && daPy_py_c::i_checkNowWolf()) {
if (i_this->mMessageState == 2 && i_this->mFlowID != -1 && daPy_py_c::checkNowWolf()) {
fopAcM_OnStatus(i_this, 0);
cLib_onBit<u32>(i_this->attention_info.flags, 0xa);
i_this->eventInfo.i_onCondition(1);
i_this->eventInfo.onCondition(1);
} else {
fopAcM_OffStatus(i_this, 0);
cLib_offBit<u32>(i_this->attention_info.flags, 0xa);