diff options
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index ffd8e37fd..ba9aab9f0 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -1194,10 +1194,11 @@ static ChangeInfoResult ShipVehicleChangeInfo(uint engine, int numinfo, int prop break; case 0x14: // Ocean speed fraction + svi->ocean_speed_frac = buf->ReadByte(); + break; + case 0x15: // Canal speed fraction - /** @todo Speed fractions for ships on oceans and canals */ - buf->ReadByte(); - ret = CIR_UNHANDLED; + svi->canal_speed_frac = buf->ReadByte(); break; case 0x16: // Retire vehicle early |