*Fix Hunter pet focus regen (thanks MrSmite)

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-10 08:48:25 -07:00
parent 7111de479b
commit 465d3c6717
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ void Pet::setDeathState(DeathState s) // overwrite virtual
}
}
void Pet::Update(int32 diff)
void Pet::Update(uint32 diff)
{
if(m_removed) // pet already removed, just wait in remove queue, no updates
return;
+2 -2
View File
@@ -148,7 +148,7 @@ class Pet : public Guardian
static void DeleteFromDB(uint32 guidlow);
void setDeathState(DeathState s); // overwrite virtual Creature::setDeathState and Unit::setDeathState
void Update(int32 diff); // overwrite virtual Creature::Update and Unit::Update
void Update(uint32 diff); // overwrite virtual Creature::Update and Unit::Update
uint8 GetPetAutoSpellSize() const { return m_autospells.size(); }
uint32 GetPetAutoSpellOnPos(uint8 pos) const
@@ -237,7 +237,7 @@ class Pet : public Guardian
int32 m_duration; // time until unsummon (used mostly for summoned guardians and not used for controlled pets)
uint64 m_auraRaidUpdateMask;
bool m_loading;
int32 m_regenTimer;
uint32 m_regenTimer;
DeclinedName *m_declinedname;