1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-26 13:44:16 +01:00

Codechange: Use an enum for vehicle acceleration model.

This commit is contained in:
Michael Lutz
2025-06-19 21:09:37 +02:00
parent 748700bd9e
commit 0715903b24
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,