mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Restore globals
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user