(svn r7374) - CodeChange: Replace call to GetVehiclePoolSize() by GetMaxVehicleIndex().

pull/155/head
matthijs 18 years ago
parent 96fdda5c73
commit e208c15059

@ -196,7 +196,7 @@ static const Month _autosave_months[] = {
*/
static void RunVehicleDayProc(uint daytick)
{
uint total = GetVehiclePoolSize();
uint total = GetMaxVehicleIndex() + 1;
uint i;
for (i = daytick; i < total; i += DAY_TICKS) {

Loading…
Cancel
Save