(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.

This commit is contained in:
terkhen
2011-01-19 18:44:13 +00:00
parent a89c92ef6e
commit fdb720cc1a
8 changed files with 29 additions and 29 deletions

View File

@@ -325,7 +325,7 @@ void AfterLoadVehicles(bool part_of_load)
case VEH_ROAD: {
RoadVehicle *rv = RoadVehicle::From(v);
if (rv->IsRoadVehFront()) {
if (rv->IsFrontEngine()) {
RoadVehUpdateCache(rv);
if (_settings_game.vehicle.roadveh_acceleration_model != AM_ORIGINAL) {
rv->CargoChanged();