1
0
Fork 0

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

release/0.5
matthijs 2006-12-05 16:41:13 +00:00
parent cc2c2a0fb1
commit e231ac60b3
1 changed files with 1 additions and 1 deletions

2
date.c
View File

@ -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) {