diff options
author | Hercules.ws <dev@herc.ws> | 2020-02-10 01:57:55 +0100 |
---|---|---|
committer | HerculesWSAPI <dev@herc.ws> | 2020-02-10 01:57:55 +0100 |
commit | 8ec579563d740f773eca81a7cd595c84d66d2d63 (patch) | |
tree | 719254b4b97022d7c55fd67e3784ee4bde01bc3d | |
parent | 1000b1002648980d015c3a14ffc303bbb32e3718 (diff) | |
download | hercules-8ec579563d740f773eca81a7cd595c84d66d2d63.tar.gz hercules-8ec579563d740f773eca81a7cd595c84d66d2d63.tar.bz2 hercules-8ec579563d740f773eca81a7cd595c84d66d2d63.tar.xz hercules-8ec579563d740f773eca81a7cd595c84d66d2d63.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <dev@herc.ws>
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index b50d86180..423490182 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -58192,9 +58192,8 @@ void HP_npc_trader_update(int master) { return; } enum market_buy_result HP_npc_market_buylist(struct map_session_data *sd, struct itemlist *item_list) { -/* Unknown return type 'enum market_buy_result'. Initializing to '0'. */ int hIndex = 0; - enum market_buy_result retVal___ = 0; + enum market_buy_result retVal___ = MARKET_BUY_RESULT_ERROR; if (HPMHooks.count.HP_npc_market_buylist_pre > 0) { enum market_buy_result (*preHookFunc) (struct map_session_data **sd, struct itemlist **item_list); *HPMforce_return = false; |