summaryrefslogtreecommitdiff
path: root/src/d/d_insect.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/d_insect.cpp
parent4dc0cd9d09d5a53bf6d68f0018a8053a1507ee9a (diff)
b_gnd equivalent (#2340)
* b_gnd equivalent * fix dEvt_info_c inlines * fix some more inlines
Diffstat (limited to 'src/d/d_insect.cpp')
-rw-r--r--src/d/d_insect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_insect.cpp b/src/d/d_insect.cpp
index f69f76334a..f99b6af124 100644
--- a/src/d/d_insect.cpp
+++ b/src/d/d_insect.cpp
@@ -45,7 +45,7 @@ void dInsect_c::Insect_GetDemoMain() {
cLib_offBit<u32>(attention_info.flags, 0x10);
fopAcM_cancelCarryNow(this);
fopAcM_orderItemEvent(this, 0, 0);
- eventInfo.i_onCondition(dEvtCnd_CANGETITEM_e);
+ eventInfo.onCondition(dEvtCnd_CANGETITEM_e);
m_itemId = fopAcM_createItemForTrBoxDemo(&current.pos, m_itemNo, -1,
fopAcM_GetRoomNo(this), NULL, NULL);
@@ -68,7 +68,7 @@ void dInsect_c::Insect_GetDemoMain() {
m_mode = 2;
} else {
fopAcM_orderItemEvent(this, 0, 0);
- eventInfo.i_onCondition(dEvtCnd_CANGETITEM_e);
+ eventInfo.onCondition(dEvtCnd_CANGETITEM_e);
}
break;
case 2: