diff options
-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);
|