summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grm.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_grm.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_grm.cpp')
-rw-r--r--src/d/actor/d_a_npc_grm.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/d/actor/d_a_npc_grm.cpp b/src/d/actor/d_a_npc_grm.cpp
index f0a53d4428..f0f2270f75 100644
--- a/src/d/actor/d_a_npc_grm.cpp
+++ b/src/d/actor/d_a_npc_grm.cpp
@@ -392,13 +392,7 @@ void daNpc_grM_c::srchActors() {
BOOL daNpc_grM_c::evtProc() {
BOOL ret = FALSE;
-#if VERSION != VERSION_SHIELD_DEBUG
- // TODO: gameInfo fake match to force reuse of pointer
- dComIfG_play_c* play = &g_dComIfG_gameInfo.play;
- if (play->getEvent().runCheck()) {
-#else
if (dComIfGp_event_runCheck()) {
-#endif
if (eventInfo.checkCommandTalk()) {
if (!checkChangeEvt()) {
evtTalk();
@@ -408,11 +402,7 @@ BOOL daNpc_grM_c::evtProc() {
dComIfGp_getEventManager().endCheck(mEvtId))
{
if (evtEndProc()) {
-#if VERSION != VERSION_SHIELD_DEBUG
- play->getEvent().reset();
-#else
dComIfGp_event_reset();
-#endif
mEvtId = -1;
}
} else {