aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Pet.cpp2
-rw-r--r--src/game/Pet.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 17cafed6df0..e6dcf0ed19c 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -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;
diff --git a/src/game/Pet.h b/src/game/Pet.h
index 9a506b71026..7f3684bbd59 100644
--- a/src/game/Pet.h
+++ b/src/game/Pet.h
@@ -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;