summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1ca323136..a2fbca41e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8458,7 +8458,7 @@ void clif_charnameack (int fd, struct block_list *bl)
#endif
return;
case BL_ELEM:
- memcpy(WBUFP(buf,6), ((TBL_ELEM*)bl)->db->name, NAME_LENGTH);
+ memcpy(WBUFP(buf,6), ((struct elemental_data *)bl)->db->name, NAME_LENGTH);
break;
default:
ShowError("clif_charnameack: bad type %d(%d)\n", bl->type, bl->id);