summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-03 10:22:03 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-03 10:22:03 +0000
commit9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a (patch)
tree3bcb974e22e2a9807ba7eddc480f69be46bb0e64 /src/map/skill.c
parentdbd1f8cd60a0ac82e6161fefe5308475e8f124c0 (diff)
downloadhercules-9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a.tar.gz
hercules-9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a.tar.bz2
hercules-9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a.tar.xz
hercules-9cc59af3b0b4c2872fb70e0f0b00f17afcd7122a.zip
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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
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;