Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346)

This commit is contained in:
Vít Šefl
2021-08-15 11:17:05 +02:00
committed by GitHub
parent 579f393374
commit 2183fd4dab
8 changed files with 38 additions and 7 deletions

View File

@@ -1331,6 +1331,10 @@ static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop
break;
}
case PROP_TRAIN_CURVE_SPEED_MOD: // 0x2E Curve speed modifier
rvi->curve_speed_mod = buf->ReadWord();
break;
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;