From 8c99e2802fa920d35514c522180c5164199b321a Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Sat, 28 Aug 2010 16:59:58 +0000 Subject: Replaced a map_moveblock() call with a call to unit_movepos() to prevent an exploit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14396 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 476008bf9..0212516a5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7580,7 +7580,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns const struct TimerData* td = tsc->data[type]?get_timer(tsc->data[type]->timer):NULL; if( td ) sec = DIFF_TICK(td->tick, tick); - map_moveblock(bl, src->bl.x, src->bl.y, tick); + unit_movepos(bl, src->bl.x, src->bl.y, 0, 0); clif_fixpos(bl); sg->val2 = bl->id; } -- cgit v1.2.3-70-g09d2