From 1249dc22081a0be982489aae8f18e1658e0cba95 Mon Sep 17 00:00:00 2001 From: hemagx Date: Sat, 26 Dec 2015 11:17:14 +0200 Subject: Change all TBL_MOB to struct mob_data as per strly guidelines Signed-off-by: Haru --- src/map/map.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index dd6996af2..f5b8618cc 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1743,10 +1743,8 @@ void map_addiddb(struct block_list *bl) struct map_session_data *sd = (struct map_session_data *)bl; idb_put(map->pc_db,sd->bl.id,sd); idb_put(map->charid_db,sd->status.char_id,sd); - } - else if( bl->type == BL_MOB ) - { - TBL_MOB* md = (TBL_MOB*)bl; + } else if (bl->type == BL_MOB) { + struct mob_data* md = (struct mob_data*)bl; idb_put(map->mobid_db,bl->id,bl); if( md->state.boss ) -- cgit v1.2.3-60-g2f50