some more cleanup (cbd025f follow-up)

This commit is contained in:
Treeston
2017-10-26 12:55:19 +02:00
committed by Aokromes
parent 4e9395ba54
commit d08f8bc39a

View File

@@ -102,9 +102,6 @@ class boss_selin_fireheart : public CreatureScript
void SelectNearestCrystal()
{
if (Crystals.empty())
return;
if (Creature* crystal = me->FindNearestCreature(NPC_FEL_CRYSTAL, 250.0f))
{
Talk(SAY_ENERGY);
@@ -244,7 +241,6 @@ class boss_selin_fireheart : public CreatureScript
}
private:
std::list<ObjectGuid> Crystals;
ObjectGuid CrystalGUID;
bool _scheduledEvents;
};