summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_nh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_nh.cpp')
-rw-r--r--src/d/actor/d_a_nh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_nh.cpp b/src/d/actor/d_a_nh.cpp
index 43e86578..3ac7c735 100644
--- a/src/d/actor/d_a_nh.cpp
+++ b/src/d/actor/d_a_nh.cpp
@@ -273,7 +273,7 @@ void daNh_c::BGCheck() {
dBgS_ObjGndChk_All gndChk;
gndChk.SetPos(&current.pos);
f32 groundY = dComIfG_Bgsp()->GroundCross(&gndChk);
- if (groundY != -1000000000.0f) {
+ if (groundY != C_BG_MIN_HEIGHT) {
mGroundY = groundY;
tevStr.mRoomNo = current.roomNo = dComIfG_Bgsp()->GetRoomId(gndChk);
tevStr.mEnvrIdxOverride = dComIfG_Bgsp()->GetPolyColor(gndChk);