From d98cf33cbb478a2a49dd8519803897c769e5129e Mon Sep 17 00:00:00 2001 From: Matej Pristak Date: Sun, 2 Mar 2014 23:32:53 +0100 Subject: [PATCH] oops, forgot one thing --- src/map/vending.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/vending.c b/src/map/vending.c index 778fefc3eb..6ad2312038 100755 --- a/src/map/vending.c +++ b/src/map/vending.c @@ -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 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); clif_displaymessage(sd->fd, msg); clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);