summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_b_zant.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-03-23 12:55:28 -0700
committerGitHub <noreply@github.com>2025-03-23 21:55:28 +0200
commita4cdad86f4eb28df25708e8b4b1988148f690f2e (patch)
treebe0399dac50abe47e0d5d718a9fe9bdbffcbf474 /src/d/actor/d_a_b_zant.cpp
parent4dc0cd9d09d5a53bf6d68f0018a8053a1507ee9a (diff)
b_gnd equivalent (#2340)
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
Diffstat (limited to 'src/d/actor/d_a_b_zant.cpp')
-rw-r--r--src/d/actor/d_a_b_zant.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/d/actor/d_a_b_zant.cpp b/src/d/actor/d_a_b_zant.cpp
index d2ed24f9d5..c346d48229 100644
--- a/src/d/actor/d_a_b_zant.cpp
+++ b/src/d/actor/d_a_b_zant.cpp
@@ -1473,9 +1473,9 @@ void daB_ZANT_c::executeOpening() {
current.pos.set(0.0f, 0.0f, 160.0f);
shape_angle.y = -0x8000;
- if (!eventInfo.i_checkCommandDemoAccrpt()) {
+ if (!eventInfo.checkCommandDemoAccrpt()) {
fopAcM_orderPotentialEvent(this, 2, 0xFFFF, 4);
- eventInfo.i_onCondition(2);
+ eventInfo.onCondition(2);
return;
}
@@ -3817,9 +3817,9 @@ void daB_ZANT_c::executeLastStartDemo() {
switch (mMode) {
case 0:
- if (!eventInfo.i_checkCommandDemoAccrpt()) {
+ if (!eventInfo.checkCommandDemoAccrpt()) {
fopAcM_orderPotentialEvent(this, 2, 0xFFFF, 0);
- eventInfo.i_onCondition(2);
+ eventInfo.onCondition(2);
} else {
camera->Stop();
camera->SetTrimSize(3);
@@ -4522,9 +4522,9 @@ void daB_ZANT_c::executeLastEndDemo() {
switch (mMode) {
case 0:
- if (!eventInfo.i_checkCommandDemoAccrpt()) {
+ if (!eventInfo.checkCommandDemoAccrpt()) {
fopAcM_orderPotentialEvent(this, 2, 0xFFFF, 0);
- eventInfo.i_onCondition(2);
+ eventInfo.onCondition(2);
return;
}
@@ -4795,9 +4795,9 @@ void daB_ZANT_c::executeRoomChange() {
switch (mMode) {
case 0:
setTgHitBit(FALSE);
- if (!eventInfo.i_checkCommandDemoAccrpt()) {
+ if (!eventInfo.checkCommandDemoAccrpt()) {
fopAcM_orderPotentialEvent(this, 2, 0xFFFF, 0);
- eventInfo.i_onCondition(2);
+ eventInfo.onCondition(2);
return;
}