Core/Misc: Fix static analysis issues

(cherry picked from commit 7e73f5f1ed)
This commit is contained in:
jackpoz
2017-11-11 18:05:05 +01:00
committed by Shauren
parent c44478664a
commit a68ab3241a
5 changed files with 5 additions and 5 deletions

View File

@@ -409,7 +409,7 @@ public:
tree->AI()->Talk(SAY_WALKER_FRIENDLY, player);
tree->DespawnOrUnsummon(1000);
}
else if (roll == 0) // enemy version
else // enemy version
{
tree->AI()->Talk(SAY_WALKER_ENEMY, player);
tree->SetFaction(FACTION_MONSTER);

View File

@@ -148,7 +148,7 @@ class instance_serpent_shrine : public InstanceMapScript
player->CastSpell(player, SPELL_SCALDINGWATER, true);
}
else if (Water == WATERSTATE_FRENZY)
else
{
//spawn frenzy
if (DoSpawnFrenzy)