summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 04:14:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-05 04:14:51 +0000
commitb1d33ee7d320d273a6bc44c568baa6cd0dd1e373 (patch)
tree3721b08b8a6ddb60e3b336289b53b1e5369d26e1 /src
parentaab752aa85c36783c588b106b7b7b398776cbd18 (diff)
downloadhercules-b1d33ee7d320d273a6bc44c568baa6cd0dd1e373.tar.gz
hercules-b1d33ee7d320d273a6bc44c568baa6cd0dd1e373.tar.bz2
hercules-b1d33ee7d320d273a6bc44c568baa6cd0dd1e373.tar.xz
hercules-b1d33ee7d320d273a6bc44c568baa6cd0dd1e373.zip
- Fixed a possible infinite loop in skill_clear_unit_group
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6483 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ac9dbcea7..216132567 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9458,8 +9458,6 @@ int skill_delunitgroup(struct block_list *src, struct skill_unit_group *group)
int i,j;
nullpo_retr(0, group);
- if(group->unit_count<=0)
- return 0;
if (!src) src=map_id2bl(group->src_id);
ud = unit_bl2ud(src);