*Replace uint32 with int32, should fix "Pet::Update(): pets aren't regenerating focus even though m_regenTimer is less than diff"..

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-09 23:39:15 -07:00
parent ce0a56b255
commit 790a04bb29
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ void Pet::setDeathState(DeathState s) // overwrite virtual
}
}
void Pet::Update(uint32 diff)
void Pet::Update(int32 diff)
{
if(m_removed) // pet already removed, just wait in remove queue, no updates
return;
+1 -1
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(uint32 diff); // overwrite virtual Creature::Update and Unit::Update
void Update(int32 diff); // overwrite virtual Creature::Update and Unit::Update
uint8 GetPetAutoSpellSize() const { return m_autospells.size(); }
uint32 GetPetAutoSpellOnPos(uint8 pos) const