summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d4d70d115..b3c264e43 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -16260,7 +16260,7 @@ struct skill_unit_group* skill_initunitgroup (struct block_list* src, int count,
group->guild_id = status->get_guild_id(src);
group->bg_id = bg->team_get_id(src);
group->group_id = skill->get_new_group_id();
- CREATE(group->unit.data, struct skill_unit, 1);
+ CREATE(group->unit.data, struct skill_unit, count);
group->unit.count = count;
group->alive_count = 0;
group->val1 = 0;