summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 25cbd31..9fa8239 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -1484,7 +1484,7 @@ void eclif_parse_WalkToXY(int fd,
if (sd->ud.state.change_walk_target == 0)
{
- if (unit->walktoxy(&sd->bl, x, y, 4) &&
+ if (unit->walk_toxy(&sd->bl, x, y, 4) == 0 &&
sd->ud.state.change_walk_target == 1)
{
send_walk_fail(sd->fd, x, y);
@@ -1492,7 +1492,7 @@ void eclif_parse_WalkToXY(int fd,
}
else
{
- unit->walktoxy(&sd->bl, x, y, 4);
+ unit->walk_toxy(&sd->bl, x, y, 4);
}
}