summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c2
-rw-r--r--src/map/send.c2
-rw-r--r--src/map/unit.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 6d6148b..5e029f0 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -22,7 +22,7 @@ int emob_deleteslave_sub(struct block_list *bl, va_list ap)
hookStop();
return 0;
}
- struct mob_data *md = (struct mob_data *)bl;
+ TBL_MOB *md = (TBL_MOB *)bl;
if (!md)
{
hookStop();
diff --git a/src/map/send.c b/src/map/send.c
index b2bafa0..6fa91fa 100644
--- a/src/map/send.c
+++ b/src/map/send.c
@@ -116,7 +116,7 @@ void send_mob_info(struct block_list* bl1, struct block_list* bl2,
return;
char buf[12];
- struct mob_data *md = (struct mob_data *)bl1;
+ TBL_MOB *md = (TBL_MOB *)bl1;
WBUFW (buf, 0) = 0xb03;
WBUFW (buf, 2) = 12; // len
diff --git a/src/map/unit.c b/src/map/unit.c
index e5b7e97..8153a4b 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -131,7 +131,7 @@ int eunit_can_move(struct block_list *bl)
// Icewall walk block special trapped monster mode
if(bl->type == BL_MOB)
{
- struct mob_data *md = BL_CAST(BL_MOB, bl);
+ TBL_MOB *md = BL_CAST(BL_MOB, bl);
if(md && ((md->status.mode&MD_BOSS && battle->bc->boss_icewall_walk_block == 1 && map->getcell(bl->m,bl->x,bl->y,CELL_CHKICEWALL))
|| (!(md->status.mode&MD_BOSS) && battle->bc->mob_icewall_walk_block == 1 && map->getcell(bl->m,bl->x,bl->y,CELL_CHKICEWALL))))
{