From e3883970149cfbb3a1e89b99a32dfd5de6fbdfd0 Mon Sep 17 00:00:00 2001 From: brianluau Date: Sun, 25 Dec 2011 19:32:51 +0000 Subject: - Full revert of r15116. Using the fix for bugreport:4985 in r15264 instead (ea:15049). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15274 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 272fc9242..017932990 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -688,11 +688,7 @@ int unit_blown(struct block_list* bl, int dx, int dy, int count, int flag) if(dx || dy) { map_foreachinmovearea(clif_outsight, bl, AREA_SIZE, dx, dy, bl->type == BL_PC ? BL_ALL : BL_PC, bl); - - count = distance_xy(bl->x,bl->y,dx,dy); - if( count < 0 ) - count = -count; - + if(su) { skill_unit_move_unit_group(su->group, bl->m, dx, dy); -- cgit v1.2.3-60-g2f50