summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 243a7c28a..64885541f 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -399,7 +399,7 @@ int unit_walktoxy_timer(int tid, int64 tick, int id, intptr_t data) {
}
if(ud->state.change_walk_target) {
- if(unit_walktoxy_sub(bl)) {
+ if(unit->walktoxy_sub(bl)) {
return 1;
} else {
clif->fixpos(bl);