summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-29 05:16:01 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-14 20:18:11 +0300
commit42c129494a2b9f9899fb28fb5ca5792ee850ce07 (patch)
tree0fd2e8f3e3068c71f1460df82ee64b9f79da2eed /src/map/clif.h
parent0f3a9dfaf79b0227944f2f4052dd48be3b2588f4 (diff)
downloadhercules-42c129494a2b9f9899fb28fb5ca5792ee850ce07.tar.gz
hercules-42c129494a2b9f9899fb28fb5ca5792ee850ce07.tar.bz2
hercules-42c129494a2b9f9899fb28fb5ca5792ee850ce07.tar.xz
hercules-42c129494a2b9f9899fb28fb5ca5792ee850ce07.zip
Add support for saving/loading barter shops from sql table.
Also allow add duplicated item id to barter shops if price is different.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 3ed6e8ea1..1aee11c33 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -669,6 +669,7 @@ struct barter_itemlist_entry {
int addId;
int addAmount;
int removeIndex;
+ int shopIndex;
};
VECTOR_STRUCT_DECL(barteritemlist, struct barter_itemlist_entry);