Codechange: Use an enum for vehicle acceleration model.

This commit is contained in:
Michael Lutz
2025-06-19 21:09:37 +02:00
committed by dP
parent 01b792cd66
commit 715b1fb405
11 changed files with 23 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ static const RailTypeInfo _original_railtypes[] = {
8,
/* acceleration type */
0,
VehicleAccelerationModel::Normal,
/* max speed */
0,
@@ -188,7 +188,7 @@ static const RailTypeInfo _original_railtypes[] = {
12,
/* acceleration type */
0,
VehicleAccelerationModel::Normal,
/* max speed */
0,
@@ -286,7 +286,7 @@ static const RailTypeInfo _original_railtypes[] = {
16,
/* acceleration type */
1,
VehicleAccelerationModel::Monorail,
/* max speed */
0,
@@ -384,7 +384,7 @@ static const RailTypeInfo _original_railtypes[] = {
24,
/* acceleration type */
2,
VehicleAccelerationModel::Maglev,
/* max speed */
0,