diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:53 +0100 |
commit | 1249dc22081a0be982489aae8f18e1658e0cba95 (patch) | |
tree | 1ad83ad0331ac97c2d5adadab8d6d5c7bfecc884 /src/map/map.c | |
parent | b69f7b8a5755a54df963c18ca2cdef530f05658b (diff) | |
download | hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.gz hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.bz2 hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.xz hercules-1249dc22081a0be982489aae8f18e1658e0cba95.zip |
Change all TBL_MOB to struct mob_data as per strly guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 ) |