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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user