Core/Misc: Fixed -Wmisleading-indentation warnings
(cherry picked from commit 3ac33163db2786cbd18f2158fc81d6ea9fa66316) # Conflicts: # src/server/game/Server/Protocol/PacketLog.cpp
This commit is contained in:
1 parent
ff4da3acaa
commit
af17e23204
12 files changed
+173
-171
No files matched your search
@@ -1100,7 +1100,7 @@ public:
|
||||
player->CastSpell(player, SPELL_CLEANSING_SOUL);
|
||||
player->SetStandState(UNIT_STAND_STATE_SIT);
|
||||
}
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user