summaryrefslogtreecommitdiff
path: root/src/d/d_lib.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_lib.cpp
parentee2e164fa226ab417cb057821aa1fdfdbca0fa35 (diff)
G_CM3D_F_INF
Diffstat (limited to 'src/d/d_lib.cpp')
-rw-r--r--src/d/d_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp
index c34e5c5b..da322377 100644
--- a/src/d/d_lib.cpp
+++ b/src/d/d_lib.cpp
@@ -27,7 +27,7 @@ void dLib_setCirclePath(dLib_circle_path_c* path) {
/* 800570CC-8005716C .text dLib_getWaterY__FR4cXyzR12dBgS_ObjAcch */
f32 dLib_getWaterY(cXyz& pos, dBgS_ObjAcch& acch) {
BOOL waterHit = acch.ChkWaterHit();
- f32 waterHeight = waterHit ? acch.m_wtr.GetHeight() : C_BG_MIN_HEIGHT;
+ f32 waterHeight = waterHit ? acch.m_wtr.GetHeight() : -G_CM3D_F_INF;
if (daSea_ChkArea(pos.x, pos.z)) {
f32 seaHeight = daSea_calcWave(pos.x, pos.z);
if (!waterHit || seaHeight > waterHeight) {