Follow up to 4e638838de1c99abbcc289d7679580cacb502b18 (#7468)

This commit is contained in:
Jittapan Pluemsumran 2022-11-30 15:11:25 +07:00 committed by GitHub
parent 795414de4f
commit c9f23e691a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,7 +484,7 @@ void trade_tradeok(struct map_session_data *sd)
}
sd->state.deal_locked = 1;
clif_tradeitemok(*sd, 0, EXITEM_ADD_SUCCEED);
clif_tradeitemok(*sd, -2, EXITEM_ADD_SUCCEED); // We pass -2 which will becomes 0 in clif_tradeitemok (Official behavior)
clif_tradedeal_lock(sd, 0);
clif_tradedeal_lock(target_sd, 1);
}