summaryrefslogtreecommitdiff
path: root/src/d/d_event.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-12-10 08:46:19 -0800
committerGitHub <noreply@github.com>2024-12-10 18:46:19 +0200
commit8d73439554beb2b4870b86159aa2e676357792b7 (patch)
treef146d56805cdbbf0ee01412b66d328396d2b0305 /src/d/d_event.cpp
parent3fa6b50e6ab76f8d6fed3c92a70084db2f0e221e (diff)
tbox/camera/d_bg_w_kcol work and cleanup (#2262)
* some camera/tbox cleanup * d_bg_w_kcol work * make item name enum better
Diffstat (limited to 'src/d/d_event.cpp')
-rw-r--r--src/d/d_event.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_event.cpp b/src/d/d_event.cpp
index 2b19f0af13..13d55cd8df 100644
--- a/src/d/d_event.cpp
+++ b/src/d/d_event.cpp
@@ -285,7 +285,7 @@ int dEvt_control_c::talkXyCheck(dEvt_order_c* p_order) {
return 0;
}
- if (dComIfGp_getSelectItem(itemIndex) == NO_ITEM) {
+ if (dComIfGp_getSelectItem(itemIndex) == fpcNm_ITEM_NONE) {
return 0;
}
@@ -503,7 +503,7 @@ int dEvt_control_c::endProc() {
field_0xec = 255;
field_0xed = 0;
mEventID = 255;
- mPreItemNo = NO_ITEM;
+ mPreItemNo = fpcNm_ITEM_NONE;
dComIfGp_getEventManager().setStartDemo(-2);
return 1;
}
@@ -1049,7 +1049,7 @@ void dEvt_control_c::remove() {
mStageEventDt = NULL;
mEventID = 255;
field_0xed = 0;
- mPreItemNo = NO_ITEM;
+ mPreItemNo = fpcNm_ITEM_NONE;
mEventFlag = 0;
mFlag2 = 0;
mChangeOK = NULL;