b_gnd equivalent (#2340)

* b_gnd equivalent

* fix dEvt_info_c inlines

* fix some more inlines
This commit is contained in:
TakaRikka
2025-03-23 12:55:28 -07:00
committed by GitHub
parent 4dc0cd9d09
commit a4cdad86f4
178 changed files with 4611 additions and 5262 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ void daObjCHO_c::WallCheck() {
lin_chk.SetObj();
lin_chk.Set(&old.pos, &current.pos, NULL);
if (dComIfG_Bgsp().LineCross(&lin_chk)) {
current.pos = lin_chk.i_GetCross();
current.pos = lin_chk.GetCross();
mTargetAngleY += 0x100;
}
}
@@ -358,7 +358,7 @@ void daObjCHO_c::BoomChk() {
if (dComIfG_Bgsp().LineCross(&lin_chk)) {
cM3dGPla plane;
dComIfG_Bgsp().GetTriPla(lin_chk, &plane);
old.pos = lin_chk.i_GetCross();
old.pos = lin_chk.GetCross();
current.pos = old.pos;
mAction = ACT_MOVE;
mMode = 0;