diff options
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index a34388dc7..0904760c6 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -1099,7 +1099,7 @@ static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop rvi->air_drag = buf->ReadByte(); break; - case 0x21: // Shorter vehicle + case PROP_TRAIN_SHORTEN_FACTOR: // 0x21 Shorter vehicle rvi->shorten_factor = buf->ReadByte(); break; @@ -1319,7 +1319,7 @@ static ChangeInfoResult RoadVehicleChangeInfo(uint engine, int numinfo, int prop ei->cargo_age_period = buf->ReadWord(); break; - case 0x23: // Shorter vehicle + case PROP_ROADVEH_SHORTEN_FACTOR: // 0x23 Shorter vehicle rvi->shorten_factor = buf->ReadByte(); break; |