Fix Unbound Plague
This commit is contained in:
parent
84949746e1
commit
99587f6057
1 changed files with 4 additions and 4 deletions
|
|
@ -173,15 +173,15 @@ public:
|
|||
bool operator()(WorldObject* object) const
|
||||
{
|
||||
if (!object)
|
||||
return true;
|
||||
return false;
|
||||
if (Player* p = object->ToPlayer())
|
||||
{
|
||||
if (p == _source->GetVictim() || p->GetExactDist(_source) >= 45.0f)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
private:
|
||||
Creature const* _source;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue