diff options
author | gumi <git@gumi.ca> | 2020-07-13 20:30:43 +0000 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-07-13 20:31:50 +0000 |
commit | 7840b10caf239eaf9e0b10971457581fa30a6ec2 (patch) | |
tree | 8d7bbb001f5b3c02590f31f21797896699eb1a64 /src/emap/parse.c | |
parent | 48200a8f6fb8f9e683ce7eff9d8852c482c5a8f6 (diff) | |
download | evol-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/parse.c')
-rw-r--r-- | src/emap/parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/parse.c b/src/emap/parse.c index 833fe9c..368a5b1 100644 --- a/src/emap/parse.c +++ b/src/emap/parse.c @@ -161,7 +161,7 @@ void map_parse_pet_move(int fd) struct block_list *pdBl = &sd->pd->bl; if (map->getcell(pdBl->m, pdBl, x, y, CELL_CHKPASS)) - unit->walktoxy(pdBl, x, y, 0); + unit->walk_toxy(pdBl, x, y, 0); } void map_parse_pet_dir(int fd) @@ -169,7 +169,7 @@ void map_parse_pet_dir(int fd) TBL_PC* sd = (TBL_PC*)sockt->session[fd]->session_data; if (!sd || !sd->pd || !sd->bl.prev) return; - unit->setdir(&sd->pd->bl, RFIFOB(fd, 8)); + unit->set_dir(&sd->pd->bl, (enum unit_dir)RFIFOB(fd, 8)); } void map_parse_homun_say(int fd) @@ -216,9 +216,9 @@ void map_parse_homun_dir(int fd) if (!sd || !sd->bl.prev) return; if (sd->md && sd->md->db) - unit->setdir(&sd->md->bl, RFIFOB(fd, 8)); + unit->set_dir(&sd->md->bl, (enum unit_dir)RFIFOB(fd, 8)); else if (sd->hd && homun_alive(sd->hd)) - unit->setdir(&sd->hd->bl, RFIFOB(fd, 8)); + unit->set_dir(&sd->hd->bl, (enum unit_dir)RFIFOB(fd, 8)); } void map_clif_parse_useitem2(int fd) |