summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-07-13 20:30:43 +0000
committergumi <git@gumi.ca>2020-07-13 20:31:50 +0000
commit7840b10caf239eaf9e0b10971457581fa30a6ec2 (patch)
tree8d7bbb001f5b3c02590f31f21797896699eb1a64 /src/emap/clif.c
parent48200a8f6fb8f9e683ce7eff9d8852c482c5a8f6 (diff)
downloadevol-hercules-7840b10caf239eaf9e0b10971457581fa30a6ec2.tar.gz
evol-hercules-7840b10caf239eaf9e0b10971457581fa30a6ec2.tar.bz2
evol-hercules-7840b10caf239eaf9e0b10971457581fa30a6ec2.tar.xz
evol-hercules-7840b10caf239eaf9e0b10971457581fa30a6ec2.zip
update the call syntax of some internal functions
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);
}
}