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
This commit is contained in:
LagoLunatic
2025-12-24 19:57:36 -05:00
committed by GitHub
parent cefe919b8d
commit 229527daf7
194 changed files with 767 additions and 1029 deletions
+2 -2
View File
@@ -382,7 +382,7 @@ BOOL daNpc_Grd_c::main() {
}
if (!mpHIO->m.common.debug_mode_ON &&
(!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent().isOrderOK())))
(!dComIfGp_event_runCheck() || (mOrderNewEvt && dComIfGp_getEvent()->isOrderOK())))
{
if (mOrderEvtNo != 0) {
eventInfo.setArchiveName(l_resNames[l_evtGetParamList[mOrderEvtNo].arcIdx]);
@@ -843,7 +843,7 @@ void daNpc_Grd_c::doNormalAction(int param_1) {
BOOL daNpc_Grd_c::doEvent() {
BOOL rv = FALSE;
if (dComIfGp_event_runCheck() != 0) {
if (dComIfGp_event_runCheck()) {
dEvent_manager_c& eventManager = dComIfGp_getEventManager();
if (eventInfo.mCommand == 1 || eventInfo.mCommand == 2) {