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

Restore globals

This commit is contained in:
medsouz
2015-08-16 18:35:47 -04:00
parent 7071bd9353
commit 02e2ebec9a
3 changed files with 8 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ static void window_staff_list_tooldown(rct_window *w, int widgetIndex, int x, in
continue;
if (isPatrolAreaSet) {
if (!(RCT2_ADDRESS(RCT2_ADDRESS_STAFF_MODE_ARRAY, uint8)[peep->staff_id] & 2)) {
if (!(gStaffModes[peep->staff_id] & 2)) {
continue;
}
if (!mechanic_is_location_in_patrol(peep, x, y)) {