diff options
author | terkhen <terkhen@openttd.org> | 2010-08-02 14:51:35 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-08-02 14:51:35 +0000 |
commit | 8203749e6858ebd0931acb13132c83796bf65e02 (patch) | |
tree | 6b3439daf6e1a52339248bd4d4319ad5aa44c53f | |
parent | 5c633159caf434db5e63f2c4efb109b371300ec0 (diff) | |
download | openttd-8203749e6858ebd0931acb13132c83796bf65e02.tar.xz |
(svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains.
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 8d822eed0..167aac5e6 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -702,9 +702,7 @@ static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop break; case 0x20: // Air drag - /** @todo Air drag for trains. */ - buf->ReadByte(); - ret = CIR_UNHANDLED; + rvi->air_drag = buf->ReadByte(); break; case 0x21: // Shorter vehicle |