diff options
author | Machiavelli <none@none> | 2009-06-18 18:29:28 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-18 18:29:28 +0200 |
commit | a4dafbf8ec26fa33ce51140bb77b0b1a68df93ff (patch) | |
tree | 5850e3965f0eabb6a17433fa5737d807bad84406 /src/game/Pet.cpp | |
parent | 1f871af996eb837d7a191fb947bcf565f4592c1c (diff) |
* More updating of iterator data types in loops
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r-- | src/game/Pet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 6e5bb98833a..7448d6440ce 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -842,7 +842,7 @@ bool Guardian::InitStatsForLevel(uint32 petlevel) createResistance[SPELL_SCHOOL_SHADOW] = cinfo->resistance5; createResistance[SPELL_SCHOOL_ARCANE] = cinfo->resistance6; } - for (int i = SPELL_SCHOOL_HOLY; i < MAX_SPELL_SCHOOL; ++i) + for (uint8 i = SPELL_SCHOOL_HOLY; i < MAX_SPELL_SCHOOL; ++i) SetModifierValue(UnitMods(UNIT_MOD_RESISTANCE_START + i), BASE_VALUE, float(createResistance[i])); //health, mana, armor and resistance @@ -1522,7 +1522,7 @@ bool Pet::resetTalents(bool no_cost) } } - for (unsigned int i = 0; i < sTalentStore.GetNumRows(); ++i) + for (uint32 i = 0; i < sTalentStore.GetNumRows(); ++i) { TalentEntry const *talentInfo = sTalentStore.LookupEntry(i); @@ -1632,7 +1632,7 @@ void Pet::ToggleAutocast(uint32 spellid, bool apply) if(itr == m_spells.end()) return; - int i; + uint32 i; if(apply) { |