summaryrefslogtreecommitdiff
path: root/src/d/d_grass.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-03-06 20:41:37 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-03-06 20:41:37 -0500
commit49c69eeb0f3540e654721cd2bb19e7d36bfe0b66 (patch)
tree074784d087d4ac0722ca004eb5fbc805b531ee10 /src/d/d_grass.cpp
parent0e508ad7210648ecbde5e0cf8e701965942e62cf (diff)
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
Diffstat (limited to 'src/d/d_grass.cpp')
-rw-r--r--src/d/d_grass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_grass.cpp b/src/d/d_grass.cpp
index d078aa58..d80c0eff 100644
--- a/src/d/d_grass.cpp
+++ b/src/d/d_grass.cpp
@@ -352,7 +352,7 @@ static f32 checkGroundY(cXyz& pos) {
chk.SetPos(&pos);
f32 y = dComIfG_Bgsp()->GroundCross(&chk);
pos.y -= 50.0f;
- if (y <= -1000000000.0f)
+ if (y <= C_BG_MIN_HEIGHT)
return pos.y;
else
return y;