summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_gwolf.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_gwolf.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_gwolf.cpp')
-rw-r--r--src/d/actor/d_a_npc_gwolf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_npc_gwolf.cpp b/src/d/actor/d_a_npc_gwolf.cpp
index cc4395c1c1..e97fb66ff4 100644
--- a/src/d/actor/d_a_npc_gwolf.cpp
+++ b/src/d/actor/d_a_npc_gwolf.cpp
@@ -558,7 +558,7 @@ BOOL daNpc_GWolf_c::main() {
attention_info.flags = 0;
}
- if (!daNpc_GWolf_Param_c::m.common.debug_mode_ON && (!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent().isOrderOK()))) {
+ if (!daNpc_GWolf_Param_c::m.common.debug_mode_ON && (!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent()->isOrderOK()))) {
if (mOrderEvtNo != EVT_NONE) {
eventInfo.setArchiveName(l_resNames[l_evtGetParamList[mOrderEvtNo].arcIdx]);
}
@@ -1057,7 +1057,7 @@ void daNpc_GWolf_c::doNormalAction(int param_1) {
BOOL daNpc_GWolf_c::doEvent() {
BOOL rv = FALSE;
- if (dComIfGp_event_runCheck() != FALSE) {
+ if (dComIfGp_event_runCheck()) {
dEvent_manager_c& eventManager = dComIfGp_getEventManager();
if (eventInfo.checkCommandTalk() || eventInfo.checkCommandDemoAccrpt()) {
@@ -1636,8 +1636,8 @@ BOOL daNpc_GWolf_c::ECut_meetGWolf(int i_staffId) {
case 0:
setMotion(MOT_WAITSIT, -1.0f, 0);
setLookMode(LOOK_PLAYER);
- dComIfGp_getEvent().setSkipProc(this, callback_proc, 0);
- dComIfGp_getEvent().onSkipFade();
+ dComIfGp_getEvent()->setSkipProc(this, callback_proc, 0);
+ dComIfGp_getEvent()->onSkipFade();
break;
}
}