1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Fix mechanics walking past entrances

This commit is contained in:
duncanspumpkin
2016-02-12 20:22:54 +00:00
parent e06915d4cd
commit dec8a980a0

View File

@@ -1003,7 +1003,7 @@ static uint8 staff_mechanic_direction_path(rct_peep* peep, uint8 validDirections
if (chosenTile.x == peep->next_x &&
chosenTile.y == peep->next_y &&
z == peep->next_z) {
return direction;
return entranceDirection;
}
RCT2_GLOBAL(0x00F1AEE0, uint8) = 0;