summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 18:45:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 18:45:43 +0000
commit354a5439cd4f7b4e1454cb37637ce07af279466c (patch)
treede0749dacacf28d5e6b962eb4db40698428a19a1 /src/map/pc.c
parentf30f40066e831e4cc0c4326f96d9358554c51791 (diff)
downloadhercules-354a5439cd4f7b4e1454cb37637ce07af279466c.tar.gz
hercules-354a5439cd4f7b4e1454cb37637ce07af279466c.tar.bz2
hercules-354a5439cd4f7b4e1454cb37637ce07af279466c.tar.xz
hercules-354a5439cd4f7b4e1454cb37637ce07af279466c.zip
- Implemented use of ers for skill_unit_groups to reduce memory usage. NEEDS TESTING
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5991 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8502b5ce8..f752f3a5e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4679,7 +4679,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
{ //Remove Gospel [Skotlex]
struct skill_unit_group *sg = (struct skill_unit_group *)sd->sc.data[SC_GOSPEL].val3;
if (sg)
- skill_delunitgroup(sg);
+ skill_delunitgroup(&sd->bl, sg);
}
clif_clearchar_area(&sd->bl,1);