summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2026-03-17 22:48:37 -0700
committerGitHub <noreply@github.com>2026-03-17 22:48:37 -0700
commitf64015ea383cc3ba93a90918ac3dd1d2f66e1e17 (patch)
treee5b1205895176398034a77ccba6e2c498522fd88 /src/SSystem/SComponent/c_bg_s_lin_chk.cpp
parent6694c1b281a142972fce587bd20cd82ee65ab38f (diff)
cc debug work (#3133)
Diffstat (limited to 'src/SSystem/SComponent/c_bg_s_lin_chk.cpp')
-rw-r--r--src/SSystem/SComponent/c_bg_s_lin_chk.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SSystem/SComponent/c_bg_s_lin_chk.cpp b/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
index ddfd9274b6..cb207254ea 100644
--- a/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
+++ b/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
@@ -28,11 +28,11 @@ void cBgS_LinChk::Set2(cXyz const* startPos, cXyz const* endPos, unsigned int ac
field_0x40 = *endPos;
SetActorPid(actorPid);
mStts &= ~STTS_HIT;
- ClearPi();
+ ClearCheckIndex();
}
void cBgS_LinChk::PreCalc() {
- mPreWallChk = !(mStts & STTS_WALL_OFF);
- mPreGroundChk = !(mStts & STTS_GROUND_OFF);
- mPreRoofChk = !(mStts & STTS_ROOF_OFF);
+ mPreWallChk = !ChkSttsWallOff();
+ mPreGroundChk = !ChkSttsGroundOff();
+ mPreRoofChk = !ChkSttsRoofOff();
}