Core/Misc: Apply codestyle to multiple files (II)

This commit is contained in:
Spp committed 2013-01-14 11:12:58 +01:00
1 parent d75222feca
commit 0d5cb6af75
40 files changed
+194 -194

No files matched your search

+2 -2
View File
@@ -1734,7 +1734,7 @@ void Spell::SelectImplicitTrajTargets()
m_targets.ModDst(trajDst);
}
if (Vehicle * veh = m_caster->GetVehicleKit())
if (Vehicle* veh = m_caster->GetVehicleKit())
veh->SetLastShootPos(*m_targets.GetDstPos());
}
@@ -4981,7 +4981,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_ONLY_BATTLEGROUNDS;
// do not allow spells to be cast in arenas or rated battlegrounds
if (Player * player = m_caster->ToPlayer())
if (Player* player = m_caster->ToPlayer())
if (player->InArena()/* || player->InRatedBattleGround() NYI*/)
{
SpellCastResult castResult = CheckArenaAndRatedBattlegroundCastRules();