diff options
| author | Bootz <Stage6Dev@EMPulseGaming.com> | 2011-11-07 11:18:00 -0600 |
|---|---|---|
| committer | Bootz <Stage6Dev@EMPulseGaming.com> | 2011-11-07 11:18:00 -0600 |
| commit | d1334624da890b377310a1252f96c6b990cc3e43 (patch) | |
| tree | 67557c2af3b271295e234dba15ac6d62e7911f0a /src/server/game/Spells/SpellEffects.cpp | |
| parent | f75ec5ba2bcf4c44fd4e3b713f60178d26855e6d (diff) | |
Core: Codestyle clean-up
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 128c327c5ce..26ef498b6ff 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -4398,8 +4398,8 @@ void Spell::EffectSummonObjectWild(SpellEffIndex effIndex) if (pGameObj->GetGoType() == GAMEOBJECT_TYPE_FLAGDROP && m_caster->GetTypeId() == TYPEID_PLAYER) { - Player* pl = m_caster->ToPlayer(); - Battleground* bg = pl->GetBattleground(); + Player* player = m_caster->ToPlayer(); + Battleground* bg = player->GetBattleground(); switch (pGameObj->GetMapId()) { @@ -4409,7 +4409,7 @@ void Spell::EffectSummonObjectWild(SpellEffIndex effIndex) { uint32 team = ALLIANCE; - if (pl->GetTeam() == team) + if (player->GetTeam() == team) team = HORDE; ((BattlegroundWS*)bg)->SetDroppedFlagGUID(pGameObj->GetGUID(), team); |
