summaryrefslogtreecommitdiff
path: root/src/SSystem/SComponent/c_bg_s_lin_chk.cpp
diff options
context:
space:
mode:
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();
}