1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00

fix mistake in destination_tolerence logic

still not convinced it fixes issue #3249 completely, but probably improves it.
This commit is contained in:
IntelOrca
2016-04-08 20:48:53 +01:00
parent 5d04ab3b82
commit cfecbed003

View File

@@ -7418,7 +7418,7 @@ static int peep_move_one_tile(uint8 direction, rct_peep* peep){
peep->destination_x = x + 16;
peep->destination_y = y + 16;
peep->destination_tolerence = 2;
if (peep->state == PEEP_STATE_QUEUING){
if (peep->state != PEEP_STATE_QUEUING){
peep->destination_tolerence = (scenario_rand() & 7) + 2;
}
return 0;