summaryrefslogtreecommitdiff
path: root/src/emap/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/parse.c')
-rw-r--r--src/emap/parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emap/parse.c b/src/emap/parse.c
index 368a5b1..833fe9c 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->walk_toxy(pdBl, x, y, 0);
+ unit->walktoxy(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->set_dir(&sd->pd->bl, (enum unit_dir)RFIFOB(fd, 8));
+ unit->setdir(&sd->pd->bl, 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->set_dir(&sd->md->bl, (enum unit_dir)RFIFOB(fd, 8));
+ unit->setdir(&sd->md->bl, RFIFOB(fd, 8));
else if (sd->hd && homun_alive(sd->hd))
- unit->set_dir(&sd->hd->bl, (enum unit_dir)RFIFOB(fd, 8));
+ unit->setdir(&sd->hd->bl, RFIFOB(fd, 8));
}
void map_clif_parse_useitem2(int fd)