*Fix Hunter pet focus regen (thanks MrSmite)
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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
|
if(m_removed) // pet already removed, just wait in remove queue, no updates
|
||||||
return;
|
return;
|
||||||
|
|||||||
+2
-2
@@ -148,7 +148,7 @@ class Pet : public Guardian
|
|||||||
static void DeleteFromDB(uint32 guidlow);
|
static void DeleteFromDB(uint32 guidlow);
|
||||||
|
|
||||||
void setDeathState(DeathState s); // overwrite virtual Creature::setDeathState and Unit::setDeathState
|
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(); }
|
uint8 GetPetAutoSpellSize() const { return m_autospells.size(); }
|
||||||
uint32 GetPetAutoSpellOnPos(uint8 pos) const
|
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)
|
int32 m_duration; // time until unsummon (used mostly for summoned guardians and not used for controlled pets)
|
||||||
uint64 m_auraRaidUpdateMask;
|
uint64 m_auraRaidUpdateMask;
|
||||||
bool m_loading;
|
bool m_loading;
|
||||||
int32 m_regenTimer;
|
uint32 m_regenTimer;
|
||||||
|
|
||||||
DeclinedName *m_declinedname;
|
DeclinedName *m_declinedname;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user