mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
Fixed compilation
This commit is contained in:
@@ -2410,7 +2410,9 @@ class Unit : public WorldObject
|
||||
// cooldowns
|
||||
virtual bool HasSpellCooldown(uint32 /*spell_id*/) 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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user