Fixed compilation
This commit is contained in:
@@ -2410,7 +2410,9 @@ class Unit : public WorldObject
|
|||||||
// cooldowns
|
// cooldowns
|
||||||
virtual bool HasSpellCooldown(uint32 /*spell_id*/) const { return false; }
|
virtual bool HasSpellCooldown(uint32 /*spell_id*/) const { return false; }
|
||||||
virtual bool HasSpellItemCooldown(uint32 /*spell_id*/, uint32 /*itemid*/) const { return false; }
|
virtual bool HasSpellItemCooldown(uint32 /*spell_id*/, uint32 /*itemid*/) const { return false; }
|
||||||
virtual void AddSpellCooldown(uint32 /*spell_id*/, uint32 /*itemid*/, uint32 /*end_time*/, bool needSendToClient = false, bool forceSendToSpectator = false);
|
virtual void AddSpellCooldown(uint32 /*spell_id*/, uint32 /*itemid*/, uint32 /*end_time*/, bool needSendToClient = false, bool forceSendToSpectator = false) {
|
||||||
|
needSendToClient = forceSendToSpectator = false; // workaround for unused parameters
|
||||||
|
}
|
||||||
|
|
||||||
bool CanApplyResilience() const { return m_applyResilience; }
|
bool CanApplyResilience() const { return m_applyResilience; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user