summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_bouS.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_bouS.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_bouS.cpp')
-rw-r--r--src/d/actor/d_a_npc_bouS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_bouS.cpp b/src/d/actor/d_a_npc_bouS.cpp
index e1e2a1e726..7bc2432317 100644
--- a/src/d/actor/d_a_npc_bouS.cpp
+++ b/src/d/actor/d_a_npc_bouS.cpp
@@ -714,7 +714,7 @@ BOOL daNpcBouS_c::main() {
(this->*mAction)(NULL);
}
- if (dComIfGp_event_runCheck() != FALSE && !eventInfo.checkCommandTalk() && mItemPartnerId != fpcM_ERROR_PROCESS_ID_e) {
+ if (dComIfGp_event_runCheck() && !eventInfo.checkCommandTalk() && mItemPartnerId != fpcM_ERROR_PROCESS_ID_e) {
dComIfGp_event_setItemPartnerId(mItemPartnerId);
mItemPartnerId = fpcM_ERROR_PROCESS_ID_e;
}
@@ -1183,7 +1183,7 @@ bool daNpcBouS_c::demo(void* param_1) {
mMode = 2;
// fallthrough
case 2:
- if (dComIfGp_event_runCheck() != FALSE && !eventInfo.checkCommandTalk()) {
+ if (dComIfGp_event_runCheck() && !eventInfo.checkCommandTalk()) {
dEvent_manager_c& eventManager = dComIfGp_getEventManager();
staffId = eventManager.getMyStaffId(l_myName, NULL, 0);
if (staffId != -1) {