diff options
author | Haru <haru@dotalux.com> | 2013-07-19 17:10:09 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-07-21 18:45:31 +0200 |
commit | 5f7320cda31036120ab11d9f719b34bf2809cbb4 (patch) | |
tree | 273a3ca6ae1c597c7eb70e8da8c6f91e79bf89e9 /src/map/unit.h | |
parent | 9bcb1423969870a6b60819e6f3846fe0235e28a9 (diff) | |
download | hercules-5f7320cda31036120ab11d9f719b34bf2809cbb4.tar.gz hercules-5f7320cda31036120ab11d9f719b34bf2809cbb4.tar.bz2 hercules-5f7320cda31036120ab11d9f719b34bf2809cbb4.tar.xz hercules-5f7320cda31036120ab11d9f719b34bf2809cbb4.zip |
Fixed various unit* script commands to work with NPCs (issue #7548)
http://hercules.ws/board/tracker/issue-7548-unitwalk-do-not-work/
Follow-up to 20bdc01.
Thanks to Ind for his support and suggestions.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/unit.h')
-rw-r--r-- | src/map/unit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h index 9d1c02a31..a4c7fc0cc 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -124,6 +124,7 @@ void unit_dataset(struct block_list *bl); int unit_fixdamage(struct block_list *src,struct block_list *target,unsigned int tick,int sdelay,int ddelay,int damage,int div,int type,int damage2); // ‚»‚Ì‘¼ struct unit_data* unit_bl2ud(struct block_list *bl); +struct unit_data* unit_bl2ud2(struct block_list *bl); void unit_remove_map_pc(struct map_session_data *sd, clr_type clrtype); void unit_free_pc(struct map_session_data *sd); #define unit_remove_map(bl,clrtype) unit_remove_map_(bl,clrtype,__FILE__,__LINE__,__func__) |