1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix #14824: locating a staff member by patrol area picks wrong staff member

Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
This commit is contained in:
Gymnasiast
2021-09-29 19:56:55 +02:00
parent 3d7769826f
commit bb933d1eb7

View File

@@ -566,7 +566,7 @@ private:
if (isPatrolAreaSet)
{
if (!peep->HasPatrolArea() || peep->IsLocationInPatrol(footpathCoords))
if (!peep->HasPatrolArea() || !peep->IsLocationInPatrol(footpathCoords))
{
continue;
}