diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-06 20:41:37 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-06 20:41:37 -0500 |
| commit | 49c69eeb0f3540e654721cd2bb19e7d36bfe0b66 (patch) | |
| tree | 074784d087d4ac0722ca004eb5fbc805b531ee10 /src/d/d_bg_w_hf.cpp | |
| parent | 0e508ad7210648ecbde5e0cf8e701965942e62cf (diff) | |
C_BG_MIN_HEIGHT, C_BG_MAX_HEIGHT
Diffstat (limited to 'src/d/d_bg_w_hf.cpp')
| -rw-r--r-- | src/d/d_bg_w_hf.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/d_bg_w_hf.cpp b/src/d/d_bg_w_hf.cpp index 5446c8ad..6c1082b0 100644 --- a/src/d/d_bg_w_hf.cpp +++ b/src/d/d_bg_w_hf.cpp @@ -4,6 +4,7 @@ // #include "d/d_bg_w_hf.h" +#include "SSystem/SComponent/c_bg_s.h" #include "dolphin/types.h" #define CHECK_MINMAX_1(line, min, max) \ @@ -152,8 +153,8 @@ void dBgWHf::MakeBlckBndHf(int blck_id, f32* r28, f32* r29) { r31 = pm_bgd->m_t_num - 1; } - *r28 = 1000000000.0f; - *r29 = -1000000000.0f; + *r28 = C_BG_MAX_HEIGHT; + *r29 = C_BG_MIN_HEIGHT; for (int t = r7; t <= r31; t++) { #if VERSION != VERSION_JPN |
