forked from mirror/OpenTTD
(svn r22639) -Feature: [NewGRF] Support for ship props 14/15 (ocean/canal speed fraction).
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user