diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-04-19 13:19:42 +0200 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-04-19 13:19:42 +0200 |
commit | 0aad35c84f45804a14e0ba774c98d142d14517c4 (patch) | |
tree | 0fc17fa139f275e4cc7bc7bc08baf1324e2f11b7 /src/plugins/HPMHooking | |
parent | 1e635c33f2f504e2d7e26e0237ce5782441348f8 (diff) | |
download | hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.gz hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.bz2 hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.xz hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins/HPMHooking')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Hooks.inc | 3 |
1 files changed, 1 insertions, 2 deletions
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++ ) { |