Skip to content

Commit 96df980

Browse files
committed
mItemPartnerId fix
1 parent 5492e61 commit 96df980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/d/actor/d_a_npc_pouya.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ int daNpc_Pouya_c::cutHaveFavorToAsk(int param_0) {
10051005
field_0xfce = 0;
10061006
switch (evt_id) {
10071007
case 1:
1008-
if (mItemPartnerId == -1) {
1008+
if (mItemPartnerId == fpcM_ERROR_PROCESS_ID_e) {
10091009
mItemPartnerId = fopAcM_createItemForPresentDemo(&current.pos, local_64, 0,
10101010
-1, -1, 0, 0);
10111011
}
@@ -1183,7 +1183,7 @@ int daNpc_Pouya_c::talk(void* param_0) {
11831183
field_0xfce = 0;
11841184
switch (evt_id) {
11851185
case 1:
1186-
if (mItemPartnerId == -1) {
1186+
if (mItemPartnerId == fpcM_ERROR_PROCESS_ID_e) {
11871187
mItemPartnerId = fopAcM_createItemForPresentDemo(&current.pos, local_18,
11881188
0, -1, -1, 0, 0);
11891189
}

0 commit comments

Comments
 (0)