summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_bmd.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-22 20:13:31 -0400
committerGitHub <noreply@github.com>2026-07-22 20:13:31 -0400
commit96347ab5028b6ef8ed8f5901f7d16ad51ab99cd4 (patch)
tree0eb673b76d240ac04a8805632c8fb4b4d47d71c5 /src/d/actor/d_a_bmd.cpp
parentbf372802ca81f2c2eb5ae18a5908a2d84e1d3139 (diff)
Clean up angle constants and conversions (#1135)
* Add angle conversion constants and macros * Replace angle literals with hex instead of decimal
Diffstat (limited to 'src/d/actor/d_a_bmd.cpp')
-rw-r--r--src/d/actor/d_a_bmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_bmd.cpp b/src/d/actor/d_a_bmd.cpp
index ba8fb2b6..7c46ce4a 100644
--- a/src/d/actor/d_a_bmd.cpp
+++ b/src/d/actor/d_a_bmd.cpp
@@ -987,7 +987,7 @@ void wait(bmd_class* i_this) {
move1(i_this);
if (i_this->m308[1] == 0) {
i_this->m308[1] = (s16)(int)(cM_rndF(200.0f) + 100.0f);
- i_this->m336 = (s16)(int)cM_rndFX(32768.0f);
+ i_this->m336 = (s16)(int)cM_rndFX(0x8000);
i_this->m338 = 0.0f;
}
cLib_addCalcAngleS2(&actor->shape_angle.y, i_this->m336, 0x20, i_this->m338);