1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Merge pull request #722 from duncanspumpkin/fix_718

Fix mechanics getting orders reset
This commit is contained in:
Ted John
2015-01-24 20:24:56 +00:00

View File

@@ -1626,7 +1626,7 @@ rct_peep *find_closest_mechanic(int x, int y, int forInspection)
if (!(peep->staff_orders & 2))
continue;
} else {
if (peep->state != PEEP_STATE_PATROLLING && !(peep->staff_orders & 1))
if (peep->state != PEEP_STATE_PATROLLING || !(peep->staff_orders & 1))
continue;
}