summaryrefslogtreecommitdiff
path: root/src/map/script.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:54 +0100
commit3364658237805c34ebc074d52d34f540c8a8ee56 (patch)
tree1bae2bca09c3f8b08d5a41be55efbe3cb2fa3d1a /src/map/script.c
parent1249dc22081a0be982489aae8f18e1658e0cba95 (diff)
downloadhercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.gz
hercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.bz2
hercules-3364658237805c34ebc074d52d34f540c8a8ee56.tar.xz
hercules-3364658237805c34ebc074d52d34f540c8a8ee56.zip
Change all TBL_HOM to struct homun_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 1cba7b029..65dcba2f9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -16387,7 +16387,7 @@ BUILDIN(rid2name) {
case BL_PC: script_pushstrcopy(st, ((struct map_session_data *)bl)->status.name); break;
case BL_NPC: script_pushstrcopy(st,((TBL_NPC*)bl)->exname); break;
case BL_PET: script_pushstrcopy(st,((TBL_PET*)bl)->pet.name); break;
- case BL_HOM: script_pushstrcopy(st,((TBL_HOM*)bl)->homunculus.name); break;
+ case BL_HOM: script_pushstrcopy(st, ((struct homun_data *)bl)->homunculus.name); break;
case BL_MER: script_pushstrcopy(st,((TBL_MER*)bl)->db->name); break;
default:
ShowError("buildin_rid2name: BL type unknown.\n");