From 8cb6244382cb6e1bb8b2edd13bba6b91f9c67b1f Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 24 Aug 2008 13:33:36 +0000 Subject: - Implemented unit_calc_pos (copy from pet_calc_pos) to implement it on Mercenary/Homunculus and don't use x,y-1 always. - Implemented Mercenary walk to master (same packet as Homunculus). - Starting work on Stats but i will need lot of help. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13121 54d463be-8e91-2dee-dedb-b68131a5f0ec --- 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 ec2e81c5a..0d8e4535e 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -66,6 +66,7 @@ struct view_data { int unit_walktoxy( struct block_list *bl, short x, short y, int easy); int unit_walktobl( struct block_list *bl, struct block_list *target, int range, int easy); int unit_run(struct block_list *bl); +int unit_calc_pos(struct block_list *bl, int tx, int ty, int dir); // 歩行停止 // typeは以下の組み合わせ : -- cgit v1.2.3-60-g2f50