Core/Misc: Fix static analysis issues

This commit is contained in:
jackpoz
2017-11-11 18:05:05 +01:00
parent f017b1d470
commit 7e73f5f1ed
5 changed files with 5 additions and 5 deletions

View File

@@ -411,7 +411,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)