(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 613743538d
commit b5468e7a80
8 changed files with 29 additions and 29 deletions

View File

@@ -843,7 +843,7 @@ static bool RoadVehAccelerationModelChanged(int32 p1)
if (_settings_game.vehicle.roadveh_acceleration_model != AM_ORIGINAL) {
RoadVehicle *rv;
FOR_ALL_ROADVEHICLES(rv) {
if (rv->IsRoadVehFront()) {
if (rv->IsFrontEngine()) {
rv->CargoChanged();
}
}
@@ -866,7 +866,7 @@ static bool RoadVehSlopeSteepnessChanged(int32 p1)
{
RoadVehicle *rv;
FOR_ALL_ROADVEHICLES(rv) {
if (rv->IsRoadVehFront()) rv->CargoChanged();
if (rv->IsFrontEngine()) rv->CargoChanged();
}
return true;