diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-09 18:28:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-09 18:28:27 -0300 |
commit | 6902fd25a47e613295382bc6ef86bb5a04848819 (patch) | |
tree | 7480b13958e71ce2bc544950ebd1c9d71e6907ef /src/map/npc.h | |
parent | 321c67c633a664f133b60bad079782ba4eae170c (diff) | |
download | hercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.gz hercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.bz2 hercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.xz hercules-6902fd25a47e613295382bc6ef86bb5a04848819.zip |
[TMW2] Report back to script NST_CUSTOM purchases.
This allows to impose restrictions on amounts, for example.
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 5ff63532d..4e70c1f72 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -310,7 +310,7 @@ struct npc_interface { void (*debug_warps) (void); /* */ 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); + bool (*trader_pay) (struct npc_data *nd, struct map_session_data *sd, int price, int points, struct itemlist *item_list); void (*trader_update) (int master); enum market_buy_result (*market_buylist) (struct map_session_data *sd, struct itemlist *item_list); int (*barter_buylist) (struct map_session_data *sd, struct barteritemlist *item_list); |