summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grc.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-24 19:57:36 -0500
committerGitHub <noreply@github.com>2025-12-24 16:57:36 -0800
commit229527daf71c76965ef0735abca530cee68b7358 (patch)
tree0325055c01866d359b1556a2cbc6b65cbd238466 /src/d/actor/d_a_npc_grc.cpp
parentcefe919b8d39cb5b60d79b1dc7452e80abdf9657 (diff)
Resolve all gameInfo fakematches (#2995)
* Clean up various inlines/fakematches/comments * Copy OptRuby inline name from TWW debug * Resolve all dEvt_control_c related fakematches, return pointer instead of reference * Fix some more missing inline usages
Diffstat (limited to 'src/d/actor/d_a_npc_grc.cpp')
-rw-r--r--src/d/actor/d_a_npc_grc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc_grc.cpp b/src/d/actor/d_a_npc_grc.cpp
index 577763adab..7b72766233 100644
--- a/src/d/actor/d_a_npc_grc.cpp
+++ b/src/d/actor/d_a_npc_grc.cpp
@@ -500,7 +500,7 @@ BOOL daNpc_grC_c::main() {
attention_info.flags = 0;
}
- if (!daNpc_grC_Param_c::m.common.debug_mode_ON && (!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent().isOrderOK()))) {
+ if (!daNpc_grC_Param_c::m.common.debug_mode_ON && (!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent()->isOrderOK()))) {
if (mOrderEvtNo != 0) {
eventInfo.setArchiveName(l_resNames[l_evtGetParamList[mOrderEvtNo].arcIdx]);
}
@@ -1066,7 +1066,7 @@ void daNpc_grC_c::doNormalAction(int param_1) {
BOOL daNpc_grC_c::doEvent() {
BOOL rv = FALSE;
- if (dComIfGp_event_runCheck() != 0) {
+ if (dComIfGp_event_runCheck()) {
dEvent_manager_c& eventManager = dComIfGp_getEventManager();
if (!field_0xe51) {
@@ -1451,7 +1451,7 @@ BOOL daNpc_grC_c::talk(void* param_1) {
if (mItemID != fpcM_ERROR_PROCESS_ID_e) {
s16 i_eventID = dComIfGp_getEventManager().getEventIdx(this, "DEFAULT_GETITEM", 0xFF);
- dComIfGp_getEvent().reset(this);
+ dComIfGp_getEvent()->reset(this);
fopAcM_orderChangeEventId(this, i_eventID, 1, 0xFFFF);
field_0x9ec = true;
rv = TRUE;