summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
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))))
{