From 822755ca87d57310ef07ade7d0fbac78d1989bac Mon Sep 17 00:00:00 2001 From: jackpoz Date: Mon, 9 Dec 2013 21:10:42 +0100 Subject: Core/Misc: Fix some static analysis issues Fix some static analysis issues about uninitialized values. --- .../scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server/scripts/EasternKingdoms') diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp index 463e88b670b..0810d5ca2b8 100644 --- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp @@ -807,6 +807,7 @@ public: me->GetPosition(x, y, z); //this visual aura some under ground me->SetPosition(x, y, z + 0.35f, 0.0f); Despawn(); + debuffGUID = 0; Creature* debuff = DoSpawnCreature(HELPER, 0, 0, 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 14500); if (debuff) { -- cgit v1.2.3