aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorkaelima <jeppo_meyer@msn.com>2011-06-12 02:30:32 +0200
committerkaelima <jeppo_meyer@msn.com>2011-06-12 02:30:32 +0200
commitb9e8694540f019792f15dfbee8041cec61e8b2bf (patch)
tree9e4207d391764e3d7ac3f71185aa9ccef46fb8e0 /src/server/game/Spells/SpellEffects.cpp
parentda03bbbdab7515434191ab1f48e686fcac11cca2 (diff)
Core: Continued cleanup
If and for whitespaces.
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index fdb6e878092..28a92373097 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -446,7 +446,7 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
case 52942:
{
// don't damage self and only players
- if(unitTarget->GetGUID() == m_caster->GetGUID() || unitTarget->GetTypeId() != TYPEID_PLAYER)
+ if (unitTarget->GetGUID() == m_caster->GetGUID() || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
float radius = GetSpellRadiusForHostile(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[0]));
@@ -1385,7 +1385,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
Unit::AttackerSet attackers = unitTarget->getAttackers();
// remove invalid attackers
- for (Unit::AttackerSet::iterator aItr = attackers.begin(); aItr != attackers.end(); )
+ for (Unit::AttackerSet::iterator aItr = attackers.begin(); aItr != attackers.end();)
if (!(*aItr)->canAttack(m_caster))
attackers.erase(aItr++);
else
@@ -5808,7 +5808,7 @@ void Spell::EffectResurrect(SpellEffIndex effIndex)
return;
}
break;
- // Defibrillate ( Gnomish Army Knife) have 67% chance on success_list
+ // Defibrillate (Gnomish Army Knife) have 67% chance on success_list
case 54732:
if (roll_chance_i(33))
{
@@ -6324,7 +6324,7 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex)
if (goinfo->type == GAMEOBJECT_TYPE_FISHINGNODE || goinfo->type == GAMEOBJECT_TYPE_FISHINGHOLE)
{
LiquidData liqData;
- if ( !cMap->IsInWater(fx, fy, fz + 1.f/* -0.5f */, &liqData)) // Hack to prevent fishing bobber from failing to land on fishing hole
+ if (!cMap->IsInWater(fx, fy, fz + 1.f/* -0.5f */, &liqData)) // Hack to prevent fishing bobber from failing to land on fishing hole
{ // but this is not proper, we really need to ignore not materialized objects
SendCastResult(SPELL_FAILED_NOT_HERE);
SendChannelUpdate(0);
@@ -7113,5 +7113,5 @@ void Spell::EffectBind(SpellEffIndex effIndex)
data.Initialize(SMSG_PLAYERBOUND, 8+4);
data << uint64(player->GetGUID());
data << uint32(area_id);
- player->SendDirectMessage( &data );
+ player->SendDirectMessage(&data);
}