summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_hp.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_e_hp.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_e_hp.cpp')
-rw-r--r--src/d/actor/d_a_e_hp.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/d/actor/d_a_e_hp.cpp b/src/d/actor/d_a_e_hp.cpp
index 90338615e6..4eb4202437 100644
--- a/src/d/actor/d_a_e_hp.cpp
+++ b/src/d/actor/d_a_e_hp.cpp
@@ -705,7 +705,6 @@ void daE_HP_c::executeDown() {
}
}
-// NONMATCHING - g_dComIfG_gameInfo loading
void daE_HP_c::executeDead() {
if (field_0x78d == 0 && field_0x71c == 1) {
mSound1.startCreatureSound(Z2SE_EN_PO_SOUL_PULLOUT, 0, -1);
@@ -735,21 +734,10 @@ void daE_HP_c::executeDead() {
movemode++;
}
case 1: {
-#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 (dComIfGp_event_runCheck()) {
if (eventInfo.checkCommandDemoAccrpt()) {
if (dComIfGp_getEventManager().endCheck(field_0x778)) {
-#if VERSION != VERSION_SHIELD_DEBUG
- play->getEvent().reset();
-#else
dComIfGp_event_reset();
-#endif
} else if (strcmp(dComIfGp_getEventManager().getRunEventName(),
"DEFAULT_GETITEM") == 0 &&
field_0x784 != -1)