summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2015-12-26 11:17:14 +0200
committerHaru <haru@dotalux.com>2016-01-06 15:09:56 +0100
commit1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2 (patch)
treecb549e2f60e2aa6ed8db7751d862162e9ef4678a /src/map/unit.c
parent829ebdd1527a7a4a585056463f8871d926698e2d (diff)
downloadhercules-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/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index fab001adb..7cc510547 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2817,7 +2817,7 @@ int unit_free(struct block_list *bl, clr_type clrtype) {
break;
}
case BL_ELEM: {
- struct elemental_data *ed = (TBL_ELEM*)bl;
+ struct elemental_data *ed = (struct elemental_data *)bl;
struct map_session_data *sd = ed->master;
if( elemental->get_lifetime(ed) > 0 )
elemental->save(ed);