summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_bs1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_npc_bs1.cpp')
-rw-r--r--src/d/actor/d_a_npc_bs1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_npc_bs1.cpp b/src/d/actor/d_a_npc_bs1.cpp
index 5dc64550..9b5f00d3 100644
--- a/src/d/actor/d_a_npc_bs1.cpp
+++ b/src/d/actor/d_a_npc_bs1.cpp
@@ -115,9 +115,9 @@ static s16 daNpc_Bs1_XyEventCB(void* i_this, int value) {
return ((daNpc_Bs1_c*)i_this)->XyEventCB(value);
}
/* 000002E4-00000490 .text XyEventCB__11daNpc_Bs1_cFi */
-s16 daNpc_Bs1_c::XyEventCB(int selectItemIdx) {
+s16 daNpc_Bs1_c::XyEventCB(int i_itemBtn) {
s16 eventIdx = -1;
- u8 selectedItem = (s32)dComIfGp_getSelectItem(selectItemIdx);
+ u8 selectedItem = (s32)dComIfGp_getSelectItem(i_itemBtn);
if (mType == 0) {
if (selectedItem == KAISEN_PRESENT1) {
eventIdx = mEventIdxs[0];