This commit is contained in:
Josue Acevedo 2016-03-02 00:58:11 -06:00
parent 9cc930ebac
commit 010d452e7d
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ static int staff_is_location_in_patrol_area(rct_peep *peep, int x, int y)
int staff_is_location_in_patrol(rct_peep *staff, int x, int y)
{
// Check if location is in the park
if (!map_is_location_owned(x, y, staff->z))
if (!map_is_location_owned_or_has_rights(x, y))
return 0;
// Check if staff has patrol area