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:
@@ -566,7 +566,7 @@ private:
|
||||
|
||||
if (isPatrolAreaSet)
|
||||
{
|
||||
if (!peep->HasPatrolArea() || peep->IsLocationInPatrol(footpathCoords))
|
||||
if (!peep->HasPatrolArea() || !peep->IsLocationInPatrol(footpathCoords))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user