mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-19 05:02:12 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user