oops, forgot one thing
This commit is contained in:
parent
a5b2b4ed49
commit
d98cf33cbb
@ -347,6 +347,8 @@ bool vending_openvending(struct map_session_data* sd, const char* message, const
|
|||||||
|
|
||||||
//player just moved item to cart and we don't have the correct cart ID yet
|
//player just moved item to cart and we don't have the correct cart ID yet
|
||||||
if (sd->status.cart[sd->vending[i].index].id == 0) {
|
if (sd->status.cart[sd->vending[i].index].id == 0) {
|
||||||
|
struct item_data *idb = itemdb_search(sd->status.cart[index].nameid);
|
||||||
|
char msg[256];
|
||||||
snprintf(msg, 256, "Item %s is not yet saved. Please re-log in order to correctly save your vending.", idb->jname);
|
snprintf(msg, 256, "Item %s is not yet saved. Please re-log in order to correctly save your vending.", idb->jname);
|
||||||
clif_displaymessage(sd->fd, msg);
|
clif_displaymessage(sd->fd, msg);
|
||||||
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
|
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user