summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_am2.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-25 19:20:08 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-05-25 19:20:08 -0400
commitc484eb490df73ee750b3a0e32ae2c456e1160d16 (patch)
tree4ab9f268a6ba20647754a0c92071969ac0a3476b /src/d/actor/d_a_am2.cpp
parent0ee416c53896590d8d1a4b0c800e849cf133f868 (diff)
More demo work, fix some fakematches in retail
Diffstat (limited to 'src/d/actor/d_a_am2.cpp')
-rw-r--r--src/d/actor/d_a_am2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/actor/d_a_am2.cpp b/src/d/actor/d_a_am2.cpp
index 17bee58c..f56d8053 100644
--- a/src/d/actor/d_a_am2.cpp
+++ b/src/d/actor/d_a_am2.cpp
@@ -365,8 +365,7 @@ static BOOL body_atari_check(am2_class* i_this) {
/* 00000F54-00000FF4 .text BG_check__FP9am2_class */
static void BG_check(am2_class* i_this) {
- f32 halfHeight = 40.0f + REG8_F(12);
- i_this->mAcchCir.SetWall(halfHeight, i_this->mAcchRadius);
+ i_this->mAcchCir.SetWall(40.0f + REG8_F(12), i_this->mAcchRadius);
i_this->current.pos.y -= i_this->mCorrectionOffsetY;
i_this->old.pos.y -= i_this->mCorrectionOffsetY;