Fixed compilation
This commit is contained in:
parent
66ffadb087
commit
aa87ec685b
1 changed files with 3 additions and 1 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue