diff options
author | frosch <frosch@openttd.org> | 2011-11-08 17:27:55 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-08 17:27:55 +0000 |
commit | 8dcbd673cfa9e9f1f4036fe053a9ebd78bb0328a (patch) | |
tree | 9bdef9a4fe800d233ac0750d3ee76a22169edca3 /src/newgrf.cpp | |
parent | c2cf26b451bf93dde6730b950b9face513d5accc (diff) | |
download | openttd-8dcbd673cfa9e9f1f4036fe053a9ebd78bb0328a.tar.xz |
(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index a34388dc7..0904760c6 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -1099,7 +1099,7 @@ static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop rvi->air_drag = buf->ReadByte(); break; - case 0x21: // Shorter vehicle + case PROP_TRAIN_SHORTEN_FACTOR: // 0x21 Shorter vehicle rvi->shorten_factor = buf->ReadByte(); break; @@ -1319,7 +1319,7 @@ static ChangeInfoResult RoadVehicleChangeInfo(uint engine, int numinfo, int prop ei->cargo_age_period = buf->ReadWord(); break; - case 0x23: // Shorter vehicle + case PROP_ROADVEH_SHORTEN_FACTOR: // 0x23 Shorter vehicle rvi->shorten_factor = buf->ReadByte(); break; |