summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-04-19 13:19:42 +0200
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-04-19 13:19:42 +0200
commit0aad35c84f45804a14e0ba774c98d142d14517c4 (patch)
tree0fc17fa139f275e4cc7bc7bc08baf1324e2f11b7
parent1e635c33f2f504e2d7e26e0237ce5782441348f8 (diff)
downloadhercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.gz
hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.bz2
hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.tar.xz
hercules-0aad35c84f45804a14e0ba774c98d142d14517c4.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc3
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++ ) {