summaryrefslogtreecommitdiff
path: root/src/d/d_particle.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/d_particle.cpp
parentee2e164fa226ab417cb057821aa1fdfdbca0fa35 (diff)
G_CM3D_F_INF
Diffstat (limited to 'src/d/d_particle.cpp')
-rw-r--r--src/d/d_particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_particle.cpp b/src/d/d_particle.cpp
index 853bbcc0..e48d067a 100644
--- a/src/d/d_particle.cpp
+++ b/src/d/d_particle.cpp
@@ -766,7 +766,7 @@ JPABaseEmitter* dPa_control_c::setSimpleLand(int code, const cXyz* pos, const cs
dBgS_ObjGndChk chk;
cXyz chkPos(pos->x, pos->y + 10.0f, pos->z);
chk.SetPos(&chkPos);
- if (dComIfG_Bgsp()->GroundCross(&chk) != C_BG_MIN_HEIGHT) {
+ if (dComIfG_Bgsp()->GroundCross(&chk) != -G_CM3D_F_INF) {
code = dComIfG_Bgsp()->GetAttributeCode(chk);
}
}