(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.

This commit is contained in:
frosch
2011-11-08 17:27:46 +00:00
parent 52774235eb
commit c2cf26b451
4 changed files with 9 additions and 3 deletions

View File

@@ -1319,6 +1319,10 @@ static ChangeInfoResult RoadVehicleChangeInfo(uint engine, int numinfo, int prop
ei->cargo_age_period = buf->ReadWord();
break;
case 0x23: // Shorter vehicle
rvi->shorten_factor = buf->ReadByte();
break;
default:
ret = CommonVehicleChangeInfo(ei, prop, buf);
break;