summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_stopper.cpp
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2026-01-05 03:55:35 -0800
committerGitHub <noreply@github.com>2026-01-05 03:55:35 -0800
commit22dc7a37dbc844b0eccba65025cf7f0950b98259 (patch)
treeb8fc9158a2c8b9b8b2a025a5d5d2040d2473b333 /src/d/actor/d_a_obj_stopper.cpp
parent767e3ba17ea514010cbc4f2015f8ffc1d4d87286 (diff)
fix functions not returning values (#3018)
Diffstat (limited to 'src/d/actor/d_a_obj_stopper.cpp')
-rw-r--r--src/d/actor/d_a_obj_stopper.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/d/actor/d_a_obj_stopper.cpp b/src/d/actor/d_a_obj_stopper.cpp
index 557f02c22a..bee5fc640d 100644
--- a/src/d/actor/d_a_obj_stopper.cpp
+++ b/src/d/actor/d_a_obj_stopper.cpp
@@ -70,18 +70,18 @@ int daObjStopper_c::create() {
if (!field_0x9fc) {
field_0x9f8 = home.angle.x;
field_0x9fa = home.angle.z;
- home.angle.z = 0;
- home.angle.x = 0;
- current.angle.z = 0;
- current.angle.x = 0;
- shape_angle.z = 0;
- shape_angle.x = 0;
+ home.angle.x = home.angle.z = 0;
+ current.angle.x = current.angle.z = 0;
+ shape_angle.x = shape_angle.z = 0;
field_0x9fc = 1;
}
- cPhs__Step phase = (cPhs__Step)MoveBGCreate(NULL, -1, dBgS_MoveBGProc_TypicalRotY, 0x810, NULL);
- if (phase != cPhs_ERROR_e) {
+ cPhs__Step phase = cPhs_COMPLEATE_e;
+ phase = (cPhs__Step)MoveBGCreate(NULL, -1, dBgS_MoveBGProc_TypicalRotY, 0x810, NULL);
+ if (phase == cPhs_ERROR_e) {
return phase;
}
+ OS_REPORT("STOPPER PARAM<0x%x>\n", fopAcM_GetParam(this));
+ return phase;
}
int daObjStopper_c::Execute(Mtx** param_0) {