diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 04:14:51 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-05 04:14:51 +0000 |
commit | b1d33ee7d320d273a6bc44c568baa6cd0dd1e373 (patch) | |
tree | 3721b08b8a6ddb60e3b336289b53b1e5369d26e1 | |
parent | aab752aa85c36783c588b106b7b7b398776cbd18 (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/skill.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index a9e82477b..36725f1d2 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/05/04
+ * Fixed a possible infinite loop in skill_clear_unit_group [Skotlex]
* Some clean-ups in the mob_ai [Skotlex]
* Improved atcommand autoloot, now displays droprate in percents and notices
player if autoloot is already on or off. Also simplified the code [Harbin, Kain],
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);
|