Skip to content

Commit

Permalink
Merge pull request #3287 from Asheraf/qf0320
Browse files Browse the repository at this point in the history
Fix incorrect assignment in item trade packet
  • Loading branch information
MishimaHaruna committed Mar 30, 2024
2 parents 4e38e66 + 2fae73d commit 2450c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/clif.c
Expand Up @@ -4761,7 +4761,7 @@ static void clif_tradeadditem(struct map_session_data *sd, struct map_session_da
p->look = sd->inventory_data[index]->view_sprite;
#endif // PACKETVER_MAIN_NUM >= 20161102 || PACKETVER_RE_NUM >= 20161026 || defined(PACKETVER_ZERO)
#if PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
p->grade = sd->status.inventory[index].refine;
p->grade = sd->status.inventory[index].grade;
#endif // PACKETVER_MAIN_NUM >= 20200916 || PACKETVER_RE_NUM >= 20200723 || PACKETVER_ZERO_NUM >= 20221024
clif->addcards(&p->slot, &sd->status.inventory[index]);
#if PACKETVER >= 20150226
Expand Down

0 comments on commit 2450c8c

Please sign in to comment.