some more cleanup (cbd025f follow-up)

This commit is contained in:
Treeston
2017-10-26 12:55:19 +02:00
committed by Ovahlord
parent a5c63ba366
commit 7c75d6fb0c

View File

@@ -105,9 +105,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);
@@ -247,7 +244,6 @@ class boss_selin_fireheart : public CreatureScript
}
private:
std::list<ObjectGuid> Crystals;
ObjectGuid CrystalGUID;
bool _scheduledEvents;
};