summaryrefslogtreecommitdiff
path: root/src/map/status.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:55 +0100
commitb040c619b505fd7423576f88bb0fe7de35848d3d (patch)
treed2f8b6178cc9e5a6e3f9c02b0f91f7b4dd120fc7 /src/map/status.c
parent00c95f652e5a2c572b9f210507e346af031c6f96 (diff)
downloadhercules-b040c619b505fd7423576f88bb0fe7de35848d3d.tar.gz
hercules-b040c619b505fd7423576f88bb0fe7de35848d3d.tar.bz2
hercules-b040c619b505fd7423576f88bb0fe7de35848d3d.tar.xz
hercules-b040c619b505fd7423576f88bb0fe7de35848d3d.zip
Change all TBL_SKILL to struct skill_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1af57b94f..ba99cb562 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6344,8 +6344,8 @@ int status_get_party_id(struct block_list *bl) {
return ((struct mercenary_data *)bl)->master->status.party_id;
break;
case BL_SKILL:
- if (((TBL_SKILL*)bl)->group)
- return ((TBL_SKILL*)bl)->group->party_id;
+ if (((struct skill_unit *)bl)->group != NULL)
+ return ((struct skill_unit *)bl)->group->party_id;
break;
case BL_ELEM:
if (((TBL_ELEM*)bl)->master)
@@ -6389,8 +6389,8 @@ int status_get_guild_id(struct block_list *bl) {
return ((TBL_NPC*)bl)->u.scr.guild_id;
break;
case BL_SKILL:
- if (((TBL_SKILL*)bl)->group)
- return ((TBL_SKILL*)bl)->group->guild_id;
+ if (((struct skill_unit *)bl)->group != NULL)
+ return ((struct skill_unit *)bl)->group->guild_id;
break;
case BL_ELEM:
if (((TBL_ELEM*)bl)->master)