Core/Misc: Fixed -Wmisleading-indentation warnings

(cherry picked from commit 3ac33163db)

# Conflicts:
#	src/server/game/Server/Protocol/PacketLog.cpp
This commit is contained in:
Shauren
2016-04-23 13:22:03 +02:00
committed by Aokromes
parent ff4da3acaa
commit af17e23204
12 changed files with 173 additions and 171 deletions

View File

@@ -1100,7 +1100,7 @@ public:
player->CastSpell(player, SPELL_CLEANSING_SOUL);
player->SetStandState(UNIT_STAND_STATE_SIT);
}
return true;
return true;
}
};

View File

@@ -57,18 +57,18 @@ public:
//for special scripts
switch (itemId)
{
case 24538:
case 24538:
if (player->GetAreaId() != 3628)
disabled = true;
break;
case 34489:
break;
case 34489:
if (player->GetZoneId() != 4080)
disabled = true;
break;
case 34475:
if (const SpellInfo* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES))
break;
case 34475:
if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_ARCANE_CHARGES))
Spell::SendCastResult(player, spellInfo, 1, SPELL_FAILED_NOT_ON_GROUND);
break;
break;
}
// allow use in flight only