aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2021-06-20 13:11:53 +0200
committerjackpoz <giacomopoz@gmail.com>2021-06-20 13:11:53 +0200
commit33dace231c5a169375523ffa89a2cc3fa48737bd (patch)
treee8023841a9c396371bcd636c67805f3920be354a /src/server/scripts/Outland
parent5446209b89146fdbe01627e806f7beddd6ae5de8 (diff)
Core/Misc: Fix issues reported by static analysis
Diffstat (limited to 'src/server/scripts/Outland')
-rw-r--r--src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/boss_hungarfen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/boss_hungarfen.cpp b/src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/boss_hungarfen.cpp
index 5c39a3c9e04..f245bd6e873 100644
--- a/src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/boss_hungarfen.cpp
+++ b/src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/boss_hungarfen.cpp
@@ -113,7 +113,7 @@ private:
struct npc_underbog_mushroom : public ScriptedAI
{
- npc_underbog_mushroom(Creature* creature) : ScriptedAI(creature) { }
+ npc_underbog_mushroom(Creature* creature) : ScriptedAI(creature), _counter(0) { }
void InitializeAI() override
{
@@ -154,7 +154,7 @@ struct npc_underbog_mushroom : public ScriptedAI
private:
TaskScheduler _scheduler;
- uint32 _counter = 0;
+ uint32 _counter;
};
void AddSC_boss_hungarfen()