(svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity().

This commit is contained in:
frosch
2011-11-09 16:38:50 +00:00
parent e4011426f2
commit 026317bb44
9 changed files with 74 additions and 73 deletions

View File

@@ -216,7 +216,7 @@ void Train::ConsistChanged(bool same_length)
}
}
u->cargo_cap = GetVehicleCapacity(u);
u->cargo_cap = e_u->DetermineCapacity(u);
u->vcache.cached_cargo_age_period = GetVehicleProperty(u, PROP_TRAIN_CARGO_AGE_PERIOD, e_u->info.cargo_age_period);
/* check the vehicle length (callback) */