mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 20:57:46 -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:
@@ -795,7 +795,7 @@ void daNpc_Toby_c::action() {
|
||||
}
|
||||
}
|
||||
|
||||
if (dComIfGp_event_runCheck() == FALSE && field_0x1001) {
|
||||
if (!dComIfGp_event_runCheck() && field_0x1001) {
|
||||
fopAcM_delete(this);
|
||||
}
|
||||
}
|
||||
@@ -1688,7 +1688,7 @@ int daNpc_Toby_c::cutConversationAboutSCannon(int arg0) {
|
||||
actor_p = mActorMngr[2].getActorP();
|
||||
if (actor_p != NULL) {
|
||||
mJntAnm.lookPos(&actor_p->current.pos, 0);
|
||||
dComIfGp_getEvent().setPt2(actor_p);
|
||||
dComIfGp_getEvent()->setPt2(actor_p);
|
||||
} else {
|
||||
mJntAnm.lookNone(0);
|
||||
}
|
||||
@@ -1726,7 +1726,7 @@ int daNpc_Toby_c::cutConversationAboutSCannon(int arg0) {
|
||||
field_0xd6c = actor_p->current.pos;
|
||||
field_0xd6c.y += 600.0f;
|
||||
mJntAnm.lookPos(&field_0xd6c, 0);
|
||||
dComIfGp_getEvent().setPt2(actor_p);
|
||||
dComIfGp_getEvent()->setPt2(actor_p);
|
||||
} else {
|
||||
mJntAnm.lookNone(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user