mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-07 17:22:26 +00:00
Fix function signature of Mob::IsRaidTarget() so its actually a virtual
This commit is contained in:
parent
34496c49b4
commit
531e4b0207
@ -526,7 +526,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
//More stuff to sort:
|
//More stuff to sort:
|
||||||
virtual bool IsRaidTarget() { return false; };
|
virtual bool IsRaidTarget() const { return false; };
|
||||||
virtual bool IsAttackAllowed(Mob *target, bool isSpellAttack = false);
|
virtual bool IsAttackAllowed(Mob *target, bool isSpellAttack = false);
|
||||||
bool IsTargeted() const { return (targeted > 0); }
|
bool IsTargeted() const { return (targeted > 0); }
|
||||||
inline void IsTargeted(int in_tar) { targeted += in_tar; if(targeted < 0) targeted = 0;}
|
inline void IsTargeted(int in_tar) { targeted += in_tar; if(targeted < 0) targeted = 0;}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user