Simplified the use of roamboxes and improved the AI for roambox pathing

This commit is contained in:
Akkadius
2019-08-16 03:25:34 -05:00
parent c149e6ca5f
commit 05e7c473df
22 changed files with 638 additions and 245 deletions
+4 -2
View File
@@ -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);