summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_toripost.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-05 02:13:21 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-05 02:13:21 -0500
commit76083c90eaec65aa0eebd9a75256240465ac577c (patch)
tree88a1a76921496af4c2b68277e8ccaf0d78bd4489 /src/d/actor/d_a_obj_toripost.cpp
parent0d899b50f592978e2476813b06b50da4de0f638d (diff)
Misc matches, including dComIfGp_event_runCheck fixes
Diffstat (limited to 'src/d/actor/d_a_obj_toripost.cpp')
-rw-r--r--src/d/actor/d_a_obj_toripost.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/actor/d_a_obj_toripost.cpp b/src/d/actor/d_a_obj_toripost.cpp
index e2122800..977689b4 100644
--- a/src/d/actor/d_a_obj_toripost.cpp
+++ b/src/d/actor/d_a_obj_toripost.cpp
@@ -857,7 +857,6 @@ bool daObjTpost_c::_execute() {
setAttention();
setCollision(40.0f, 140.0f);
modeProc(PROC_EXEC, 5);
- dBgS* bgs = dComIfG_Bgsp();
if(dComIfGp_event_runCheck() && !mEventCut.cutProc()) {
cutProc();
@@ -865,7 +864,7 @@ bool daObjTpost_c::_execute() {
eventOrder();
fopAcM_posMoveF(this, 0);
- mAcch.CrrPos(*bgs);
+ mAcch.CrrPos(*dComIfG_Bgsp());
mStts.Move();
if(mCyl.ChkTgHit()) {
daObj::HitSeStart(&mEyePos, current.roomNo, &mCyl, 0x0B);