diff options
| author | elijah-thomas774 <elijahthomas774@gmail.com> | 2026-05-24 15:06:07 -0400 |
|---|---|---|
| committer | elijah-thomas774 <elijahthomas774@gmail.com> | 2026-05-24 20:34:43 -0400 |
| commit | 6cea9c566ba392b5840738acf471a4ef4f980f33 (patch) | |
| tree | 2a00f97d08f756f0cdf187a95bd9a69916b5e8db /src/toBeSorted/d_path.cpp | |
| parent | 45cc86893d40285ef48d7da8107ce9f8011c68f4 (diff) | |
ActorOnRail_Ext remove duplicate set of flag inlines, conform to check/set/unset
Diffstat (limited to 'src/toBeSorted/d_path.cpp')
| -rw-r--r-- | src/toBeSorted/d_path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toBeSorted/d_path.cpp b/src/toBeSorted/d_path.cpp index 0003a739..d68856b0 100644 --- a/src/toBeSorted/d_path.cpp +++ b/src/toBeSorted/d_path.cpp @@ -517,7 +517,7 @@ s32 ActorOnRail_Ext::execute() { mSegmentDistance = 0.0f; if (checkFlag(0x1)) { ret = 3; - offFlag(0x40000000); + unsetFlag(0x40000000); mSpeed *= -1.0f; } break; @@ -545,7 +545,7 @@ s32 ActorOnRail_Ext::execute() { mSegmentDistance = segmentLength; if (checkFlag(0x1)) { ret = 3; - onFlag(0x40000000); + setFlag(0x40000000); mSpeed *= -1.0f; } break; |
