summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_bst.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-06-27 15:50:54 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-06-27 15:50:54 -0400
commit96a546265e5adb364e6b3cd40ef245fffacb0e06 (patch)
treedea4bc53953a95d9132aa1bef5632a5411a0314a /src/d/actor/d_a_bst.cpp
parent2f62d4e10f54ffa51de70e4389d7e99907e32c85 (diff)
Remove fake inline
Diffstat (limited to 'src/d/actor/d_a_bst.cpp')
-rw-r--r--src/d/actor/d_a_bst.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_bst.cpp b/src/d/actor/d_a_bst.cpp
index 451e8635..4fb089d0 100644
--- a/src/d/actor/d_a_bst.cpp
+++ b/src/d/actor/d_a_bst.cpp
@@ -250,11 +250,11 @@ static void pos_move(bst_class* i_this, unsigned char param_2) {
vec.x = 0.0f;
vec.y = 0.0f;
- vec.z = fopAcM_GetSpeedF(i_this);
+ vec.z = i_this->speedF;
mDoMtx_YrotS(*calc_mtx, i_this->current.angle.y);
mDoMtx_XrotM(*calc_mtx, i_this->current.angle.x);
- MtxPosition(&vec, &fopAcM_GetSpeed(i_this));
+ MtxPosition(&vec, &i_this->speed);
i_this->current.pos += i_this->speed;
}
@@ -2572,7 +2572,7 @@ static cPhs_State daBst_Create(fopAc_ac_c* a_this) {
res = dComIfG_resLoad(&i_this->mPhs, "Bst");
if (res == cPhs_COMPLEATE_e) {
i_this->mPa_smokeEcallBack.setFollowOff();
- i_this->field_0x02B4 = (u8) fopAcM_GetParam(i_this);
+ i_this->field_0x02B4 = fopAcM_GetParam(i_this) & 0xFF;
if (!fopAcM_entrySolidHeap(i_this, useHeapInit, 0x96000)) {
return cPhs_ERROR_e;