summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_shutter.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-02-23 20:56:27 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-02-23 20:56:27 -0500
commit33f76d9968893f272d296f2244b8a60531a4c692 (patch)
tree8226bc4224b038e2fb2cae1105314c082e3fb0aa /src/d/actor/d_a_shutter.cpp
parentc4ad9f7241e2f4bf09a88deb62d683796c4d4200 (diff)
More cleanup
Diffstat (limited to 'src/d/actor/d_a_shutter.cpp')
-rw-r--r--src/d/actor/d_a_shutter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_shutter.cpp b/src/d/actor/d_a_shutter.cpp
index 321cba9b..d823202a 100644
--- a/src/d/actor/d_a_shutter.cpp
+++ b/src/d/actor/d_a_shutter.cpp
@@ -53,7 +53,7 @@ BOOL daShutter_c::CreateHeap() {
mdBgW[i] = new dBgW();
if (mdBgW[i]) {
cBgD_t* pData = (cBgD_t *)dComIfG_getObjectRes(m_arcname[mType], m_dzbidx[mType]);
- if (mdBgW[i]->Set(pData, 0x1, &mMtx[i]) == 1) {
+ if (mdBgW[i]->Set(pData, cBgW::MOVE_BG_e, &mMtx[i]) == true) {
return FALSE;
}
}
@@ -172,7 +172,7 @@ void daShutter_c::shutter_move() {
}
case ACT_WAIT02:
{
- if (!cLib_calcTimer(&mTimer)) {
+ if (cLib_calcTimer(&mTimer) == 0) {
field_0x339 = 0;
dComIfGp_evmng_cutEnd(mStaffId);
}