mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-22 18:49:40 +00:00
Codechange: make AccelerationModel a scoped enum (#15757)
This commit is contained in:
@@ -342,7 +342,7 @@ static void TrainSlopeSteepnessChanged(int32_t)
|
||||
*/
|
||||
static void RoadVehAccelerationModelChanged(int32_t)
|
||||
{
|
||||
if (_settings_game.vehicle.roadveh_acceleration_model != AM_ORIGINAL) {
|
||||
if (_settings_game.vehicle.roadveh_acceleration_model != AccelerationModel::Original) {
|
||||
for (RoadVehicle *rv : RoadVehicle::Iterate()) {
|
||||
if (rv->IsFrontEngine()) {
|
||||
rv->CargoChanged();
|
||||
|
||||
Reference in New Issue
Block a user