Scripts/Akama: Uninitialized variable

This commit is contained in:
Machiavelli
2013-07-11 13:45:51 +02:00
parent 55338ff53b
commit 93226005c6

View File

@@ -166,7 +166,7 @@ public:
struct boss_shade_of_akamaAI : public ScriptedAI
{
boss_shade_of_akamaAI(Creature* creature) : ScriptedAI(creature)
boss_shade_of_akamaAI(Creature* creature) : ScriptedAI(creature), HasKilledAkamaAndReseting(false)
{
instance = creature->GetInstanceScript();
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);