summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grc.cpp
diff options
context:
space:
mode:
authorCarco_21 <144170194+carter-ktb21@users.noreply.github.com>2025-09-19 11:48:19 -0700
committerGitHub <noreply@github.com>2025-09-19 21:48:19 +0300
commit7089e1893d536aeb025956def0f0c7a9714ad19b (patch)
treef81e6ddcedd00024f7b4a402ba1f031c2f33ca4a /src/d/actor/d_a_npc_grc.cpp
parent2c39c2105fbc3ca0b4ba0147c7ab61d91d68f2bf (diff)
d_a_npc_grz matching (#2664)
* initial work * Over half done * equivalent * not sure what the issue is? * matching * PR cleanup
Diffstat (limited to 'src/d/actor/d_a_npc_grc.cpp')
-rw-r--r--src/d/actor/d_a_npc_grc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_grc.cpp b/src/d/actor/d_a_npc_grc.cpp
index 13d7a2a126..333ad893c2 100644
--- a/src/d/actor/d_a_npc_grc.cpp
+++ b/src/d/actor/d_a_npc_grc.cpp
@@ -148,6 +148,10 @@ enum Type {
/* 0x6 */ TYPE_6,
};
+enum Event_Cut_Nums {
+ /* 0x1 */ NUM_EVT_CUTS_e = 0x1,
+};
+
/* 809CFBB4-809CFBB8 000054 0004+00 1/1 0/0 0/0 .bss l_HIO */
static daNpc_grC_Param_c l_HIO;
@@ -1136,7 +1140,7 @@ BOOL daNpc_grC_c::doEvent() {
mStaffID = staffId;
int evtCutNo = eventManager.getMyActIdx(staffId, &mEvtCutNameList, 1, 0, 0);
- JUT_ASSERT(1774, (0 <= evtCutNo) && (evtCutNo < dEvent_manager_c::NUM_EVT_CUTS_e));
+ JUT_ASSERT(1774, (0 <= evtCutNo) && (evtCutNo < NUM_EVT_CUTS_e));
JUT_ASSERT(1775, 0 != mEvtCutList[evtCutNo]);
if ((this->*mEvtCutList[evtCutNo])(staffId)) {