summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-12 13:41:25 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-12 13:41:25 -0300
commitbc88639096a34f465cd9697ac66117740353a856 (patch)
tree01ad4d466bbb9598a0b93670eff1fa6413216c63 /src/emap/clif.c
parentfc19fdff65ee1561b2b1e30e5bab6906f65d34fa (diff)
downloadevol-hercules-bc88639096a34f465cd9697ac66117740353a856.tar.gz
evol-hercules-bc88639096a34f465cd9697ac66117740353a856.tar.bz2
evol-hercules-bc88639096a34f465cd9697ac66117740353a856.tar.xz
evol-hercules-bc88639096a34f465cd9697ac66117740353a856.zip
Partly Revert "update the call syntax of some internal functions"
This reverts commit 02963c54fa43b41ed8346e243c415e777e9caa4c.
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 660e23a..9bdb6b8 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -1483,7 +1483,7 @@ void eclif_parse_WalkToXY(int fd,
if (sd->ud.state.change_walk_target == 0)
{
- if (unit->walk_toxy(&sd->bl, x, y, 4) == 0 &&
+ if (unit->walktoxy(&sd->bl, x, y, 4) &&
sd->ud.state.change_walk_target == 1)
{
send_walk_fail(sd->fd, x, y);
@@ -1491,7 +1491,7 @@ void eclif_parse_WalkToXY(int fd,
}
else
{
- unit->walk_toxy(&sd->bl, x, y, 4);
+ unit->walktoxy(&sd->bl, x, y, 4);
}
}