diff --git a/src/game/Globals/ObjectMgr.h b/src/game/Globals/ObjectMgr.h index e430638378..d8a4f2fa6b 100644 --- a/src/game/Globals/ObjectMgr.h +++ b/src/game/Globals/ObjectMgr.h @@ -1184,7 +1184,7 @@ class ObjectMgr return { itrSpell->second.first, itrSpell->second.second }; } - bool GetCreatureCooldown(uint32 entry, uint32 spellId, uint32 cooldown) const + bool GetCreatureCooldown(uint32 entry, uint32 spellId, uint32& cooldown) const { auto itrEntry = m_creatureCooldownMap.find(entry); if (itrEntry == m_creatureCooldownMap.end())