From 9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 3 Jul 2012 10:22:03 +0000 Subject: r16370 has fixed a behavior in *athena that has always made walking easier/smoother, unlike how it actually is meant to be, however since users have been exposed to this behavior for so many years I'm adding a config to disable it in order to save endless posts/bug reports on a intended feature. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16372 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 71a048b8a..31ec7acd1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8823,10 +8823,10 @@ int skill_castend_id(int tid, unsigned int tick, int id, intptr_t data) else skill_consume_requirement(sd,ud->skillid,ud->skilllv,1); } - +#ifdef OFFICIAL_WALKPATH if( !path_search_long(NULL, src->m, src->x, src->y, target->x, target->y, CELL_CHKWALL) ) break; - +#endif if( (src->type == BL_MER || src->type == BL_HOM) && !skill_check_condition_mercenary(src, ud->skillid, ud->skilllv, 1) ) break; -- cgit v1.2.3-60-g2f50