summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d2cfcb03d..dd644d8d1 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -730,7 +730,7 @@ static int unit_walktobl(struct block_list *bl, struct block_list *tbl, int rang
if (unit->walk_toxy_sub(bl) == 0 && (flag & 2) != 0) {
set_mobstate(bl);
- return 0;
+ return 1;
}
return 0;
}