mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-07 21:03:35 +00:00
[Doors] Ignore Doors that Have Non-Zero Trigger or Door Param (#1899)
This commit is contained in:
1 parent
5457f30659
commit
6a7782ab8d
1 file changed
+8
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user