mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-27 06:31:42 -04:00
d_a_alink 100% (#2957)
* Match daAlink_c::checkHorseGetOff * Match daAlink_c::procCanoeRowInit
This commit is contained in:
@@ -678,12 +678,11 @@ int daAlink_c::procCanoeWait() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// NONMATCHING - regalloc, equivalent
|
||||
int daAlink_c::procCanoeRowInit(int param_0) {
|
||||
fopAc_ac_c* temp_r26 = mRideAcKeep.getActor();
|
||||
int var_r29;
|
||||
fopAc_ac_c* temp_r26 = (fopAc_ac_c*)mRideAcKeep.getActor();
|
||||
field_0x3198 = -2;
|
||||
|
||||
int var_r29;
|
||||
if (param_0 < 0) {
|
||||
if (checkInputOnR()) {
|
||||
s16 sp8 = (s16)(field_0x2fe2 - shape_angle.y);
|
||||
|
||||
@@ -1174,10 +1174,9 @@ int daAlink_c::checkNextActionHorse() {
|
||||
return procHorseWaitInit();
|
||||
}
|
||||
|
||||
// NONMATCHING - regalloc, equivalent
|
||||
BOOL daAlink_c::checkHorseGetOff() {
|
||||
return (checkHorseRide() && dComIfGp_getHorseActor() != NULL &&
|
||||
dComIfGp_getHorseActor()->checkGetOff()) ||
|
||||
((daHorse_c*)dComIfGp_getHorseActor())->checkGetOff()) ||
|
||||
(checkBoarRide() && ((e_wb_class*)mRideAcKeep.getActor()) != NULL &&
|
||||
((e_wb_class*)mRideAcKeep.getActor())->checkGetOff());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user