mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 08:42:25 +00:00
[Doors] Ignore Doors that Have Non-Zero Trigger or Door Param (#1899)
This commit is contained in:
parent
5457f30659
commit
6a7782ab8d
@ -1000,6 +1000,14 @@ void Mob::AI_Process() {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (door->GetTriggerDoorID() > 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (door->GetDoorParam() > 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
float distance = DistanceSquared(m_Position, door->GetPosition());
|
||||
float distance_scan_door_open = 20;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user