Update exit condition to prevent endless loop

This commit is contained in:
Michał Janiszewski 2017-07-09 21:13:37 +02:00 committed by GitHub
parent d364b2824f
commit f89e56bbc4
1 changed files with 2 additions and 2 deletions

View File

@ -8686,7 +8686,7 @@ void fix_invalid_vehicle_sprite_sizes()
vehicleEntry == NULL ||
vehicleEntry == (rct_ride_entry_vehicle*)-1)
{
continue;
break;
}
if (vehicle->sprite_width == 0)
@ -8705,4 +8705,4 @@ void fix_invalid_vehicle_sprite_sizes()
}
}
}
}
}