summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_item.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-21 16:46:21 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-21 16:46:21 -0400
commit21cd7a2f67d019592fa3275ba76f6ab98fd2791a (patch)
tree359a55c624ad9a690810ffd2b3305fff1b8d541e /src/d/actor/d_a_item.cpp
parentee2e164fa226ab417cb057821aa1fdfdbca0fa35 (diff)
G_CM3D_F_INF
Diffstat (limited to 'src/d/actor/d_a_item.cpp')
-rw-r--r--src/d/actor/d_a_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_item.cpp b/src/d/actor/d_a_item.cpp
index 5d284dbd..70defcad 100644
--- a/src/d/actor/d_a_item.cpp
+++ b/src/d/actor/d_a_item.cpp
@@ -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);
}
}