Core: Cleanup.

This commit is contained in:
Chaplain
2011-08-30 23:09:39 +03:00
parent 5d0a2b6094
commit f5a668ae8d
12 changed files with 27 additions and 37 deletions
@@ -132,7 +132,7 @@ class boss_void_reaver : public CreatureScript
target = NULL;
}
if (target_list.size())
if (!target_list.empty())
target = *(target_list.begin()+rand()%target_list.size());
else
target = me->getVictim();