summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authormarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-20 17:32:49 +0000
committermarkzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-20 17:32:49 +0000
commitca6687180056b8f89d7f16827dc22eeacce5f211 (patch)
tree9606848222773cc0ff323f73d3b53e0bf6feeef7 /src/map/unit.c
parent50f9ce485be24c8ea74eb46bd9bc4fc01bd345b5 (diff)
downloadhercules-ca6687180056b8f89d7f16827dc22eeacce5f211.tar.gz
hercules-ca6687180056b8f89d7f16827dc22eeacce5f211.tar.bz2
hercules-ca6687180056b8f89d7f16827dc22eeacce5f211.tar.xz
hercules-ca6687180056b8f89d7f16827dc22eeacce5f211.zip
* Follow up: r16011
1. Fixed a behavior which didn't unlock target when it was out of range. (bugrepor:7022) 2. Removed a redundant variable assignment. * Follow up: r17029 1. Fixed @clearcart which was not deleting and updating the client properly. - Special thanks to clydelion, on the fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17033 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index e3a371b74..91b9f9edd 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -293,7 +293,6 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr_t data
else { //Stopped walking. Update to_x and to_y to current location [Skotlex]
ud->to_x = bl->x;
ud->to_y = bl->y;
- ud->target_to = 0;
}
return 0;
}