(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user