fix mistake in destination_tolerence logic

still not convinced it fixes issue #3249 completely, but probably improves it.
This commit is contained in:
IntelOrca committed 2016-04-08 20:48:53 +01:00
1 parent 5d04ab3b82
commit cfecbed003
1 file changed
+1 -1
+1 -1
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;