diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-05 22:54:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-05 22:54:01 +0300 |
commit | 694e3cd9efae509c5cec3d50bc17d037fd71733e (patch) | |
tree | 576f5b1a9f41dfdc779e9019fe2f46e7cf014d34 /src/map/unit.c | |
parent | 924d3b6f300839800b5c5c514f918edd432fc8bb (diff) | |
download | plugin-694e3cd9efae509c5cec3d50bc17d037fd71733e.tar.gz plugin-694e3cd9efae509c5cec3d50bc17d037fd71733e.tar.bz2 plugin-694e3cd9efae509c5cec3d50bc17d037fd71733e.tar.xz plugin-694e3cd9efae509c5cec3d50bc17d037fd71733e.zip |
Replace struct mob_data to TBL_MOB.
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
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)))) { |