summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-07-19 17:10:09 +0200
committerHaru <haru@dotalux.com>2013-07-21 18:45:31 +0200
commit5f7320cda31036120ab11d9f719b34bf2809cbb4 (patch)
tree273a3ca6ae1c597c7eb70e8da8c6f91e79bf89e9 /src/map/unit.h
parent9bcb1423969870a6b60819e6f3846fe0235e28a9 (diff)
downloadhercules-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.h1
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__)