diff --git a/src/settings.cpp b/src/settings.cpp --- a/src/settings.cpp +++ b/src/settings.cpp @@ -843,7 +843,7 @@ static bool RoadVehAccelerationModelChan 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 { RoadVehicle *rv; FOR_ALL_ROADVEHICLES(rv) { - if (rv->IsRoadVehFront()) rv->CargoChanged(); + if (rv->IsFrontEngine()) rv->CargoChanged(); } return true;