diff options
-rw-r--r-- | src/game/Pet.cpp | 2 | ||||
-rw-r--r-- | src/game/Pet.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index e6dcf0ed19c..17cafed6df0 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(uint32 diff) +void Pet::Update(int32 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 6cffc7cd44a..9a506b71026 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(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 |