summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorediejohnny <ediejohnny@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-08 04:55:18 +0000
committerediejohnny <ediejohnny@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-08 04:55:18 +0000
commiteaf2728d7f5b47e316b07608cb264bc8de2dd4cc (patch)
tree2df32654df10a6b491ec323ea6e660dcd9d49784 /src/map/unit.c
parent07bc13f9d9e0418c2d4b173432ba33d4f943aed7 (diff)
downloadhercules-eaf2728d7f5b47e316b07608cb264bc8de2dd4cc.tar.gz
hercules-eaf2728d7f5b47e316b07608cb264bc8de2dd4cc.tar.bz2
hercules-eaf2728d7f5b47e316b07608cb264bc8de2dd4cc.tar.xz
hercules-eaf2728d7f5b47e316b07608cb264bc8de2dd4cc.zip
Another fix with the @follow issue.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17085 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index b05e83455..e0dc69d15 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -74,9 +74,6 @@ int unit_walktoxy_sub(struct block_list *bl)
memcpy(&ud->walkpath,&wpd,sizeof(wpd));
- if( bl->type == BL_PC && ((TBL_PC *)bl)->followtarget == -1 && ((TBL_PC *)bl)->followtimer == INVALID_TIMER )
- ud->target_to = 0;
-
if (ud->target_to && ud->chaserange>1) {
//Generally speaking, the walk path is already to an adjacent tile
//so we only need to shorten the path if the range is greater than 1.