From 8ec579563d740f773eca81a7cd595c84d66d2d63 Mon Sep 17 00:00:00 2001 From: "Hercules.ws" Date: Mon, 10 Feb 2020 01:57:55 +0100 Subject: [PATCH] HPM Hooks Update Signed-off-by: HerculesWSAPI --- src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index b50d86180e7..423490182d1 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;