diff options
author | Haru <haru@dotalux.com> | 2019-09-08 20:36:43 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-03-08 20:56:28 +0100 |
commit | 0074b7b2b3e667942fb593428408d8432558fdc2 (patch) | |
tree | 54a70aed49a43380745dfd86cbf532a20555bdf2 /src/plugins | |
parent | 504d30428dc8d17c8521fd3b4b725963a49b045a (diff) | |
download | hercules-0074b7b2b3e667942fb593428408d8432558fdc2.tar.gz hercules-0074b7b2b3e667942fb593428408d8432558fdc2.tar.bz2 hercules-0074b7b2b3e667942fb593428408d8432558fdc2.tar.xz hercules-0074b7b2b3e667942fb593428408d8432558fdc2.zip |
HPM Hooks Update
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 1623cadb6..2aab594c1 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -48312,9 +48312,8 @@ int HP_map_check_dir(enum unit_dir s_dir, enum unit_dir t_dir) { return retVal___; } enum unit_dir HP_map_calc_dir(struct block_list *src, int16 x, int16 y) { -/* Unknown return type 'enum unit_dir'. Initializing to '0'. */ int hIndex = 0; - enum unit_dir retVal___ = 0; + enum unit_dir retVal___ = UNIT_DIR_UNDEFINED; if (HPMHooks.count.HP_map_calc_dir_pre > 0) { enum unit_dir (*preHookFunc) (struct block_list **src, int16 *x, int16 *y); *HPMforce_return = false; @@ -91157,9 +91156,8 @@ int HP_unit_setdir(struct block_list *bl, enum unit_dir dir) { return retVal___; } enum unit_dir HP_unit_getdir(struct block_list *bl) { -/* Unknown return type 'enum unit_dir'. Initializing to '0'. */ int hIndex = 0; - enum unit_dir retVal___ = 0; + enum unit_dir retVal___ = UNIT_DIR_UNDEFINED; if (HPMHooks.count.HP_unit_getdir_pre > 0) { enum unit_dir (*preHookFunc) (struct block_list **bl); *HPMforce_return = false; |