G_CM3D_F_INF

This commit is contained in:
LagoLunatic
2025-05-21 16:46:21 -04:00
parent ee2e164fa2
commit 21cd7a2f67
55 changed files with 147 additions and 142 deletions
+1 -1
View File
@@ -1299,7 +1299,7 @@ void daItem_c::mode_wait() {
temp.set(old.pos.x, old.pos.y, old.pos.z);
lavaChk.SetPos(&temp);
f32 lavaY = dComIfG_Bgsp()->GroundCross(&lavaChk);
if (lavaY != C_BG_MIN_HEIGHT && lavaY > current.pos.y) {
if (lavaY != -G_CM3D_F_INF && lavaY > current.pos.y) {
fopAcM_delete(this);
}
}