Fix Unbound Plague
This commit is contained in:
@@ -173,16 +173,16 @@ public:
|
|||||||
bool operator()(WorldObject* object) const
|
bool operator()(WorldObject* object) const
|
||||||
{
|
{
|
||||||
if (!object)
|
if (!object)
|
||||||
return true;
|
return false;
|
||||||
if (Player* p = object->ToPlayer())
|
if (Player* p = object->ToPlayer())
|
||||||
{
|
{
|
||||||
if (p == _source->GetVictim() || p->GetExactDist(_source) >= 45.0f)
|
if (p == _source->GetVictim() || p->GetExactDist(_source) >= 45.0f)
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
Creature const* _source;
|
Creature const* _source;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user