summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 03:53:36 +0100
committerHaru <haru@dotalux.com>2016-02-24 21:02:21 +0100
commit3b9c0daf1bc4d4c8d4c39f3e5e4e25d103ed9b3a (patch)
tree15db076f3c6027de5a04055e02f2979b18e045d0 /src/map/npc.h
parent23f1ef310719081c79aebf3f8921240773f5a507 (diff)
downloadhercules-3b9c0daf1bc4d4c8d4c39f3e5e4e25d103ed9b3a.tar.gz
hercules-3b9c0daf1bc4d4c8d4c39f3e5e4e25d103ed9b3a.tar.bz2
hercules-3b9c0daf1bc4d4c8d4c39f3e5e4e25d103ed9b3a.tar.xz
hercules-3b9c0daf1bc4d4c8d4c39f3e5e4e25d103ed9b3a.zip
Edited npc->market_buylist() to use the new struct itemlist
- The npc-side code no longer depends on the client data layout. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 2731d51db..1c7ad8398 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -293,7 +293,7 @@ struct npc_interface {
void (*trader_count_funds) (struct npc_data *nd, struct map_session_data *sd);
bool (*trader_pay) (struct npc_data *nd, struct map_session_data *sd, int price, int points);
void (*trader_update) (int master);
- int (*market_buylist) (struct map_session_data* sd, unsigned short list_size, struct packet_npc_market_purchase *p);
+ int (*market_buylist) (struct map_session_data *sd, struct itemlist *item_list);
bool (*trader_open) (struct map_session_data *sd, struct npc_data *nd);
void (*market_fromsql) (void);
void (*market_tosql) (struct npc_data *nd, unsigned short index);