diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 9bd6698d2..7ef0ba36a 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1934,7 +1934,9 @@ int npc_buylist(struct map_session_data* sd, int n, unsigned short* item_list) { /** * parses incoming npc market purchase list **/ -int npc_market_buylist(struct map_session_data* sd, unsigned short list_size, struct packet_npc_market_purchase *p) { +// FIXME[Haru]: This needs to be decoupled from the client. A packet struct should never make it into npc functions. +int npc_market_buylist(struct map_session_data* sd, unsigned short list_size, struct packet_npc_market_purchase *p) +{ struct npc_data* nd; struct npc_item_list *shop = NULL; int64 z; |