From 5f7320cda31036120ab11d9f719b34bf2809cbb4 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 19 Jul 2013 17:10:09 +0200 Subject: 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 --- src/map/unit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.h') 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__) -- cgit v1.2.3-60-g2f50