summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_yelia.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_yelia.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_yelia.cpp')
-rw-r--r--src/d/actor/d_a_npc_yelia.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc_yelia.cpp b/src/d/actor/d_a_npc_yelia.cpp
index ecb987c996..100b20b170 100644
--- a/src/d/actor/d_a_npc_yelia.cpp
+++ b/src/d/actor/d_a_npc_yelia.cpp
@@ -1107,8 +1107,8 @@ BOOL daNpc_Yelia_c::cutTakeWoodStatue(int i_staffId) {
Z2GetAudioMgr()->muteSceneBgm(90, 0.0f);
strcpy(name, l_evtList[EVENT_TAKE_WOODSTATUE].eventName);
strcat(name, "@");
- dComIfGp_getEvent().setSkipZev(this, name);
- dComIfGp_getEvent().onSkipFade();
+ dComIfGp_getEvent()->setSkipZev(this, name);
+ dComIfGp_getEvent()->onSkipFade();
break;
}
@@ -1455,7 +1455,7 @@ BOOL daNpc_Yelia_c::reminiscence(void* param_0) {
case MODE_RUN:
field_0xe2d = false;
- if (dComIfGp_event_runCheck() != FALSE
+ if (dComIfGp_event_runCheck()
&& !strcmp("SMELL_1st", dComIfGp_getEventManager().getRunEventName()))
{
dComIfGp_event_setTalkPartner(this);