aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2016-10-08 19:20:39 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-09-05 11:21:19 +0200
commit1fed5d571a278bad56915d56a5efe6b21a09a1c6 (patch)
tree77bee32326de756dd9ed18c1384d3edfc7c4d1db
parent58fa54801f88cc33726fb44c872447ba80f6bf77 (diff)
Scripts/Azjol-Nerub: fix static analysis issues
(cherry picked from commit 2edfedc2b60367a888e8819d91474261e66e989d)
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
index a1a4732a6f9..76b150b67dd 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
@@ -420,7 +420,6 @@ class npc_watcher_gashra : public CreatureScript
{
npc_watcher_gashraAI(Creature* creature) : npc_gatewatcher_petAI(creature, true)
{
- _instance = creature->GetInstanceScript();
me->SetReactState(REACT_PASSIVE);
}
@@ -483,7 +482,6 @@ class npc_watcher_gashra : public CreatureScript
private:
EventMap _events;
- InstanceScript* _instance;
};
CreatureAI* GetAI(Creature* creature) const override
@@ -501,7 +499,6 @@ class npc_watcher_narjil : public CreatureScript
{
npc_watcher_narjilAI(Creature* creature) : npc_gatewatcher_petAI(creature, true)
{
- _instance = creature->GetInstanceScript();
}
void Reset() override
@@ -563,7 +560,6 @@ class npc_watcher_narjil : public CreatureScript
private:
EventMap _events;
- InstanceScript* _instance;
};
CreatureAI* GetAI(Creature* creature) const override
@@ -581,7 +577,6 @@ class npc_watcher_silthik : public CreatureScript
{
npc_watcher_silthikAI(Creature* creature) : npc_gatewatcher_petAI(creature, true)
{
- _instance = creature->GetInstanceScript();
}
void Reset() override
@@ -643,7 +638,6 @@ class npc_watcher_silthik : public CreatureScript
private:
EventMap _events;
- InstanceScript* _instance;
};
CreatureAI* GetAI(Creature* creature) const override