diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:56 +0100 |
commit | 1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2 (patch) | |
tree | cb549e2f60e2aa6ed8db7751d862162e9ef4678a /src/map/mob.c | |
parent | 829ebdd1527a7a4a585056463f8871d926698e2d (diff) | |
download | hercules-1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2.tar.gz hercules-1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2.tar.bz2 hercules-1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2.tar.xz hercules-1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2.zip |
Change all TBL_ELEM to struct elemental_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index f74f4e85f..e4eb00431 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2001,7 +2001,7 @@ void mob_log_damage(struct mob_data *md, struct block_list *src, int damage) } case BL_ELEM: { - struct elemental_data *ele = (TBL_ELEM*)src; + struct elemental_data *ele = (struct elemental_data *)src; if( ele->master ) char_id = ele->master->status.char_id; if( damage ) @@ -2585,7 +2585,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { case BL_PET: sd = ((struct pet_data *)src)->msd; break; case BL_HOM: sd = ((struct homun_data *)src)->master; break; case BL_MER: sd = ((struct mercenary_data *)src)->master; break; - case BL_ELEM: sd = ((TBL_ELEM*)src)->master; break; + case BL_ELEM: sd = ((struct elemental_data *)src)->master; break; } } |