summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 04:17:17 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-29 04:17:17 +0000
commit1b0e41749ffb2e62f41d6fb58a163fbcbd47f244 (patch)
treec0a47e64d333bbec39df54b1f4203db388f65a9f
parent0f706ea86d7972f88c2b7d06dfc35e178911070e (diff)
downloadhercules-1b0e41749ffb2e62f41d6fb58a163fbcbd47f244.tar.gz
hercules-1b0e41749ffb2e62f41d6fb58a163fbcbd47f244.tar.bz2
hercules-1b0e41749ffb2e62f41d6fb58a163fbcbd47f244.tar.xz
hercules-1b0e41749ffb2e62f41d6fb58a163fbcbd47f244.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6357 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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 d70e6c262..5696c82c5 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9375,7 +9375,7 @@ struct skill_unit_group *skill_initunitgroup(struct block_list *src,
group->group_id=skill_unit_group_newid++;
if(skill_unit_group_newid<=0)
skill_unit_group_newid = MAX_SKILL_DB;
- group->unit=(struct skill_unit *)aMalloc(count*sizeof(struct skill_unit));
+ group->unit=(struct skill_unit *)aCalloc(count,sizeof(struct skill_unit));
group->unit_count=count;
group->val1=group->val2=group->val3=0;
group->skill_id=skillid;