diff options
Diffstat (limited to 'src/d/d_bg_s.cpp')
| -rw-r--r-- | src/d/d_bg_s.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_bg_s.cpp b/src/d/d_bg_s.cpp index c560cc9e..b396e926 100644 --- a/src/d/d_bg_s.cpp +++ b/src/d/d_bg_s.cpp @@ -354,7 +354,7 @@ void dBgS::WallCorrect(dBgS_Acch* acch) { /* 800A13E0-800A14FC .text RoofChk__4dBgSFP12dBgS_RoofChk */ f32 dBgS::RoofChk(dBgS_RoofChk* chk) { - chk->SetNowY(1e+09f); + chk->SetNowY(C_BG_MAX_HEIGHT); chk->ClearPi(); cBgS_ChkElm* elm; for (s32 bg_index = 0; bg_index < (s32)ARRAY_SIZE(m_chk_element); bg_index++) { @@ -606,7 +606,7 @@ void dBgS_CrrPos::CrrPos(dBgS& i_bgs) { mGndChk.SetPos(&pos); f32 f31 = pm_pos->y; mGroundH = i_bgs.GroundCross(&mGndChk); - if (mGroundH != -1e+09f && mGroundH > f31) { + if (mGroundH != C_BG_MIN_HEIGHT && mGroundH > f31) { pm_pos->y = mGroundH; if (field_0x58) { field_0x58->y = 0.0f; |
