diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-01-22 21:40:55 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-01-22 21:58:45 -0500 |
| commit | 54cccdeb1204be3fc3e47e903c8f52fb58414fdf (patch) | |
| tree | 71e51a5008589596f8ab86740416d531e146a802 /src | |
| parent | b5c8715cb9117937518ffa0b4e0f2941a98612b0 (diff) | |
dBgS: Add release-elided functions to interface
Diffstat (limited to 'src')
| -rw-r--r-- | src/d/d_bg/d_bg_s_poly_pass_chk.cpp | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/d/d_bg/d_bg_s_poly_pass_chk.cpp b/src/d/d_bg/d_bg_s_poly_pass_chk.cpp index 14096e407d..750ce2cb16 100644 --- a/src/d/d_bg/d_bg_s_poly_pass_chk.cpp +++ b/src/d/d_bg/d_bg_s_poly_pass_chk.cpp @@ -10,17 +10,7 @@ dBgS_PolyPassChk::dBgS_PolyPassChk() dBgS_PolyPassChk::~dBgS_PolyPassChk() {} void dBgS_PolyPassChk::SetPassChkInfo(dBgS_PolyPassChk& chk) { - mObject = chk.mObject; - mCamera = chk.mCamera; - mLink = chk.mLink; - mArrow = chk.mArrow; - mBomb = chk.mBomb; - mBoomerang = chk.mBoomerang; - mRope = chk.mRope; - mUnderwaterRoof = chk.mUnderwaterRoof; - mHorse = chk.mHorse; - mStatue = chk.mStatue; - mIronBall = chk.mIronBall; + *this = chk; } void dBgS_PolyPassChk::SetObj() { @@ -76,10 +66,11 @@ void dBgS_PolyPassChk::SetHorse() { } bool dBgS_PolyPassChk::ChkNoHorse() { - if (mObject || mCamera || mLink || mArrow || mBomb || mBoomerang || mRope || mUnderwaterRoof) { + if (ChkObj() || ChkCam() || ChkLink() || ChkArrow() || ChkBomb() || ChkBoomerang() || + ChkRope() || ChkUnderwaterRoof()) { return true; } - return !mHorse; + return !ChkHorse(); } void dBgS_PolyPassChk::SetStatue() { |
