From 0aad35c84f45804a14e0ba774c98d142d14517c4 Mon Sep 17 00:00:00 2001 From: "Hercules.ws" Date: Sat, 19 Apr 2014 13:19:42 +0200 Subject: HPM Hooks Update Signed-off-by: HerculesWSAPI --- src/plugins/HPMHooking/HPMHooking.Hooks.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc index f0932f518..626040e7a 100644 --- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc @@ -2863,9 +2863,8 @@ int HP_bg_afk_timer(int tid, int64 tick, int id, intptr_t data) { return retVal___; } enum bg_queue_types HP_bg_str2teamtype(const char *str) { -/* Unknown return type 'enum bg_queue_types'. Initializing to '0'. */ int hIndex = 0; - enum bg_queue_types retVal___ = 0; + enum bg_queue_types retVal___ = BGQT_INVALID; if( HPMHooks.count.HP_bg_str2teamtype_pre ) { enum bg_queue_types (*preHookFunc) (const char *str); for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_str2teamtype_pre; hIndex++ ) { -- cgit v1.2.3-60-g2f50