(svn r18972) -Add: [NewGRF] Per-rail type speed limits.

This commit is contained in:
peter1138
2010-01-31 13:17:29 +00:00
parent 2331ccd589
commit 2b820780a1
5 changed files with 28 additions and 3 deletions

View File

@@ -2569,7 +2569,7 @@ static ChangeInfoResult RailTypeChangeInfo(uint id, int numinfo, int prop, ByteR
break;
case 0x14: // Speed limit
buf->ReadWord();
rti->max_speed = buf->ReadWord();
break;
case 0x15: // Acceleration model