summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_arrow.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-19 17:10:03 -0500
committerGitHub <noreply@github.com>2025-11-19 14:10:03 -0800
commit4cf2c7e37d08cc2ae9c0ef42435fc89ab87734e7 (patch)
tree881aa06a300da3bcb30d95a27a18a291463dc47a /src/d/actor/d_a_e_arrow.cpp
parent8956be538efe0517dc2c5f1fbedee9fbed48115d (diff)
Misc fixes (#2830)
* Replace DANPCF_C_HACK with a better fakematch * d_a_obj_item OK * Fix ninja diff * Misc debug/nonmatching fixes * Fix ninja diff for PAL * Fix bad PAL split
Diffstat (limited to 'src/d/actor/d_a_e_arrow.cpp')
-rw-r--r--src/d/actor/d_a_e_arrow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/d/actor/d_a_e_arrow.cpp b/src/d/actor/d_a_e_arrow.cpp
index 0f81f3a889..ba0af97585 100644
--- a/src/d/actor/d_a_e_arrow.cpp
+++ b/src/d/actor/d_a_e_arrow.cpp
@@ -237,7 +237,7 @@ static void hit_check(e_arrow_class* i_this) {
/* 8067D21C-8067D40C 000B3C 01F0+00 1/1 0/0 0/0 .text e_arrow_shot__FP13e_arrow_class */
static void e_arrow_shot(e_arrow_class* i_this) {
switch (i_this->mMode) {
- case 0:
+ case 0: {
i_this->speedF = 100.0f;
i_this->mMode = 1;
@@ -254,6 +254,7 @@ static void e_arrow_shot(e_arrow_class* i_this) {
i_this->field_0x5d0 = parent_p->speed.x;
i_this->field_0x5d4 = parent_p->speed.z;
}
+ }
case 1:
if (i_this->mFlags & 0x20) {
fopAc_ac_c* coach_p = fopAcM_SearchByName(PROC_NPC_COACH);