aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-20 19:11:28 -0800
committermaximius <none@none>2009-11-20 19:11:28 -0800
commit654519d1a685e3b666c3be4eb74bbecd747bf735 (patch)
tree6426d9dacd803508dd2761d715b1bf62b38aea6f /src/game/Pet.cpp
parent5b54c76ac339769978e869c8326720f99bd36b3e (diff)
*Some cleanup (mostly whitespace changes)
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index f0f04031967..446625bda2b 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -1093,7 +1093,7 @@ void Pet::_SaveSpellCooldowns()
time_t curTime = time(NULL);
// remove oudated and save active
- for (CreatureSpellCooldowns::iterator itr = m_CreatureSpellCooldowns.begin(); itr != m_CreatureSpellCooldowns.end(); )
+ for (CreatureSpellCooldowns::iterator itr = m_CreatureSpellCooldowns.begin(); itr != m_CreatureSpellCooldowns.end();)
{
if (itr->second <= curTime)
m_CreatureSpellCooldowns.erase(itr++);
@@ -1575,7 +1575,7 @@ bool Pet::resetTalents(bool no_cost)
for (uint8 j = 0; j < MAX_TALENT_RANK; ++j)
{
- for (PetSpellMap::const_iterator itr = m_spells.begin(); itr != m_spells.end(); )
+ for (PetSpellMap::const_iterator itr = m_spells.begin(); itr != m_spells.end();)
{
if (itr->second.state == PETSPELL_REMOVED)
{
@@ -1865,7 +1865,7 @@ void Pet::CastPetAuras(bool current)
if (!IsPermanentPetFor((Player*)owner))
return;
- for (PetAuraSet::const_iterator itr = owner->m_petAuras.begin(); itr != owner->m_petAuras.end(); )
+ for (PetAuraSet::const_iterator itr = owner->m_petAuras.begin(); itr != owner->m_petAuras.end();)
{
PetAura const* pa = *itr;
++itr;