From f380519803f46e902fe11f51f3bd61d4ffbdd4cf Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Thu, 30 Jul 2015 21:42:55 -0400 Subject: [PATCH] Fix error with previous commit --- zone/hate_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/hate_list.cpp b/zone/hate_list.cpp index 2268fd8f4..dfa6e30a8 100644 --- a/zone/hate_list.cpp +++ b/zone/hate_list.cpp @@ -537,7 +537,7 @@ int HateList::AreaRampage(Mob *caster, Mob *target, int count, ExtraAttackOption int hit_count = 0; auto it = list.begin(); - while (it != list.end() && (hit_count == -1 || hit_count < count)) { + while (it != list.end() && (count == -1 || hit_count < count)) { struct_HateList *h = (*it); if (h && h->entity_on_hatelist && h->entity_on_hatelist != caster) { if (caster->CombatRange(h->entity_on_hatelist)) {