Fix function signature of Mob::IsRaidTarget() so its actually a virtual

This commit is contained in:
Michael Cook (mackal) 2014-09-24 13:50:18 -04:00
parent 34496c49b4
commit 531e4b0207

View File

@ -526,7 +526,7 @@ public:
//More stuff to sort:
virtual bool IsRaidTarget() { return false; };
virtual bool IsRaidTarget() const { return false; };
virtual bool IsAttackAllowed(Mob *target, bool isSpellAttack = false);
bool IsTargeted() const { return (targeted > 0); }
inline void IsTargeted(int in_tar) { targeted += in_tar; if(targeted < 0) targeted = 0;}