summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_mdoor.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-08-11 19:47:08 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-08-11 19:47:08 -0400
commit4a08af21482f53286d527ae5fdfb44f7a9204941 (patch)
treeefbdd0e5bfcd2b343845d654e233ec8d87f9adb6 /src/d/actor/d_a_mdoor.cpp
parentc249dfc155c8e93afbb63aec5709e6af145a1b90 (diff)
Misc cleanup
Diffstat (limited to 'src/d/actor/d_a_mdoor.cpp')
-rw-r--r--src/d/actor/d_a_mdoor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_mdoor.cpp b/src/d/actor/d_a_mdoor.cpp
index 35e3753b..5069fe43 100644
--- a/src/d/actor/d_a_mdoor.cpp
+++ b/src/d/actor/d_a_mdoor.cpp
@@ -202,7 +202,7 @@ void daMdoor_c::demoProc() {
"WAIT", "CLOSE", "STOP_OPEN",
};
- s32 actIdx = dComIfGp_evmng_getMyActIdx(m2C0, action_table, 3, 0, 0);
+ s32 actIdx = dComIfGp_evmng_getMyActIdx(m2C0, action_table, ARRAY_SIZE(action_table), 0, 0);
if (dComIfGp_evmng_getIsAddvance(m2C0)) {
switch (actIdx) {