From 694e3cd9efae509c5cec3d50bc17d037fd71733e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Mar 2015 22:54:01 +0300 Subject: Replace struct mob_data to TBL_MOB. --- src/map/mob.c | 2 +- src/map/send.c | 2 +- src/map/unit.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map') 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)))) { -- cgit v1.2.3-70-g09d2