summaryrefslogtreecommitdiff
path: root/src/d/d_lib.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-09-23 04:20:38 -0700
committerGitHub <noreply@github.com>2025-09-23 14:20:38 +0300
commit125f2325a5d4979b8142d1610937d32f2f42fb82 (patch)
tree35f255292bcdfb0d78b43442eb74f5b71d89d628 /src/d/d_lib.cpp
parent47abdf82fac4a2f58319e8d6ad22a1a035bf413e (diff)
cleanup event stuff (#2688)
* cleanup event stuff * fix debug
Diffstat (limited to 'src/d/d_lib.cpp')
-rw-r--r--src/d/d_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp
index ec7e54264b..a88d3f67a4 100644
--- a/src/d/d_lib.cpp
+++ b/src/d/d_lib.cpp
@@ -231,7 +231,7 @@ bool STControl::checkDownTrigger() {
u8 dLib_getEventSwitchNo(int param_0) {
dStage_MapEvent_dt_c* mapEvent = dEvt_control_c::searchMapEventData(param_0);
if (mapEvent != NULL) {
- return mapEvent->mSwitch;
+ return mapEvent->switch_no;
}
return 0xff;
}