Skip to content

Commit

Permalink
Scripts/Misc: Fix issues reported by static analysis
Browse files Browse the repository at this point in the history
(cherry picked from commit 510bb30)
  • Loading branch information
jackpoz authored and Shauren committed Apr 8, 2016
1 parent 911e81e commit 76bbf5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -421,7 +421,7 @@ class boss_lady_deathwhisper : public CreatureScript

void UpdateAI(uint32 diff) override
{
if ((!UpdateVictim() && !events.IsInPhase(PHASE_INTRO)))
if (!UpdateVictim() && !events.IsInPhase(PHASE_INTRO))
return;

events.Update(diff);
Expand Down
Expand Up @@ -562,7 +562,7 @@ class boss_professor_putricide : public CreatureScript

void UpdateAI(uint32 diff) override
{
if ((!(events.IsInPhase(PHASE_ROTFACE) || events.IsInPhase(PHASE_FESTERGUT)) && !UpdateVictim()))
if (!(events.IsInPhase(PHASE_ROTFACE) || events.IsInPhase(PHASE_FESTERGUT)) && !UpdateVictim())
return;

events.Update(diff);
Expand Down
1 change: 1 addition & 0 deletions src/server/scripts/Outland/TempestKeep/Eye/boss_alar.cpp
Expand Up @@ -289,6 +289,7 @@ class boss_alar : public CreatureScript
me->SetPosition(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0.0f);
me->StopMoving();
WaitEvent = WE_LAND;
return;
}
else
{
Expand Down

0 comments on commit 76bbf5f

Please sign in to comment.