summaryrefslogtreecommitdiff
path: root/src/map/battleground.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r--src/map/battleground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c
index e740a3370..72ccbeb78 100644
--- a/src/map/battleground.c
+++ b/src/map/battleground.c
@@ -242,7 +242,7 @@ int bg_team_get_id(struct block_list *bl) {
return ((struct mercenary_data *)bl)->master->bg_id;
break;
case BL_SKILL:
- return ((TBL_SKILL*)bl)->group->bg_id;
+ return ((struct skill_unit *)bl)->group->bg_id;
}
return 0;