summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-15 16:33:01 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-15 16:33:01 +0000
commitfc9e4a729a2555c0af3abbc78e4f0f5bcc1d8d13 (patch)
treeb7f98263a66d363e93d390e291b53cdf64651b39 /src/map/status.c
parentc2d8bd8f8617e0a6d33933efdb3f4d996483946c (diff)
downloadhercules-fc9e4a729a2555c0af3abbc78e4f0f5bcc1d8d13.tar.gz
hercules-fc9e4a729a2555c0af3abbc78e4f0f5bcc1d8d13.tar.bz2
hercules-fc9e4a729a2555c0af3abbc78e4f0f5bcc1d8d13.tar.xz
hercules-fc9e4a729a2555c0af3abbc78e4f0f5bcc1d8d13.zip
Removed the 'src' parameter from skill_delunitgroup() (see r5911) (bugreport:3253).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13893 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 62170bf27..20c4e072a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -704,7 +704,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
{
struct skill_unit_group* sg = skill_id2group(sce->val4);
if (sg) {
- skill_delunitgroup(target,sg);
+ skill_delunitgroup(sg);
sce->val4 = 0;
status_change_end(target, SC_GRAVITATION, -1);
}
@@ -6438,7 +6438,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid)
{// erase associated land skill
group = skill_id2group(sce->val2);
sce->val2 = 0;
- skill_delunitgroup(NULL, group);
+ skill_delunitgroup(group);
}
if((sce->val1&0xFFFF) == CG_MOONLIT)
@@ -6520,7 +6520,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid)
if (sce->val3) { //Clear the group.
struct skill_unit_group* group = skill_id2group(sce->val3);
sce->val3 = 0;
- skill_delunitgroup(bl, group);
+ skill_delunitgroup(group);
}
break;
case SC_HERMODE:
@@ -6537,7 +6537,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid)
if (sce->val4) { //Clear the group.
struct skill_unit_group* group = skill_id2group(sce->val4);
sce->val4 = 0;
- skill_delunitgroup(bl, group);
+ skill_delunitgroup(group);
}
break;
case SC_KAAHI: