Skip to content

Commit

Permalink
Fix incorrect assignment in item trade packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheraf committed Mar 20, 2024
1 parent 4e38e66 commit 2fae73d
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 2fae73d

Please sign in to comment.