summaryrefslogtreecommitdiff
path: root/src/d/d_com_inf_game.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-04-11 02:43:37 -0400
committerGitHub <noreply@github.com>2026-04-10 23:43:37 -0700
commitd7c34741e23297863254089125ed9ab56617dc5b (patch)
tree6165df2b21a161a4349dd9c62440283a1909a9c1 /src/d/d_com_inf_game.cpp
parentdabd6961a674f23ec0df8f2b4d16ba12e1e090e5 (diff)
Replace magic constants derived from framebuffer size (#3144)
Diffstat (limited to 'src/d/d_com_inf_game.cpp')
-rw-r--r--src/d/d_com_inf_game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_com_inf_game.cpp b/src/d/d_com_inf_game.cpp
index b461738e11..8dd0118685 100644
--- a/src/d/d_com_inf_game.cpp
+++ b/src/d/d_com_inf_game.cpp
@@ -1018,7 +1018,7 @@ bool dComIfG_inf_c::baseCsr_c::navi_c::draw(f32 param_1, f32 param_2, u8 param_3
f32 f27 = f31 - field_0x5c;
field_0x58 = f29;
field_0x5c = f31;
- cXyz spdc(param_1 - 304.0f, param_2 - 224.0f, 0.0f);
+ cXyz spdc(param_1 - FB_WIDTH_BASE / 2, param_2 - FB_HEIGHT_BASE / 2, 0.0f);
f32 target = param_3 != 0 ? 1.5f : 0.0f;