summaryrefslogtreecommitdiff
path: root/src/SSystem
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/SSystem
parent0e508ad7210648ecbde5e0cf8e701965942e62cf (diff)
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
Diffstat (limited to 'src/SSystem')
-rw-r--r--src/SSystem/SComponent/c_bg_s.cpp2
-rw-r--r--src/SSystem/SComponent/c_m3d_g_aab.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/SSystem/SComponent/c_bg_s.cpp b/src/SSystem/SComponent/c_bg_s.cpp
index b2e3ffc6..83836432 100644
--- a/src/SSystem/SComponent/c_bg_s.cpp
+++ b/src/SSystem/SComponent/c_bg_s.cpp
@@ -128,7 +128,7 @@ bool cBgS::LineCross(cBgS_LinChk* chk) {
/* 802468E4-80246A14 .text GroundCross__4cBgSFP11cBgS_GndChk */
f32 cBgS::GroundCross(cBgS_GndChk* chk) {
- chk->SetNowY(C_BG_INVALID_HEIGHT);
+ chk->SetNowY(C_BG_MIN_HEIGHT);
chk->ClearPi();
chk->mWallPrecheck = (chk->mFlag & 0x02);
chk->mGndPrecheck = (chk->mFlag & 0x01);
diff --git a/src/SSystem/SComponent/c_m3d_g_aab.cpp b/src/SSystem/SComponent/c_m3d_g_aab.cpp
index 80d2519b..1d89a243 100644
--- a/src/SSystem/SComponent/c_m3d_g_aab.cpp
+++ b/src/SSystem/SComponent/c_m3d_g_aab.cpp
@@ -4,7 +4,6 @@
//
#include "SSystem/SComponent/c_m3d_g_aab.h"
-#include "dolphin/types.h"
/* 80251CC4-80251D08 .text SetMinMax__8cM3dGAabFRC4cXyz */
void cM3dGAab::SetMinMax(const cXyz& pMinMax) {