mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 16:46:37 +00:00
Simplified the use of roamboxes and improved the AI for roambox pathing
This commit is contained in:
+4
-2
@@ -973,11 +973,13 @@ bool Mob::CombatRange(Mob* other)
|
||||
}
|
||||
|
||||
//Father Nitwit's LOS code
|
||||
bool Mob::CheckLosFN(Mob* other) {
|
||||
bool Mob::CheckLosFN(Mob *other)
|
||||
{
|
||||
bool Result = false;
|
||||
|
||||
if(other)
|
||||
if (other) {
|
||||
Result = CheckLosFN(other->GetX(), other->GetY(), other->GetZ(), other->GetSize());
|
||||
}
|
||||
|
||||
SetLastLosState(Result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user