summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-08 17:28:05 +0000
committerfrosch <frosch@openttd.org>2011-11-08 17:28:05 +0000
commit7d4568361c92bcf448859f47103a59c0735a4f99 (patch)
treefb58a52a1a031149feb3354a5afda1525e2164c7 /src/newgrf.cpp
parent8dcbd673cfa9e9f1f4036fe053a9ebd78bb0328a (diff)
downloadopenttd-7d4568361c92bcf448859f47103a59c0735a4f99.tar.xz
(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 0904760c6..890b10034 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -888,7 +888,7 @@ static ChangeInfoResult CommonVehicleChangeInfo(EngineInfo *ei, int prop, ByteRe
ei->climates = buf->ReadByte();
break;
- case 0x07: // Loading speed
+ case PROP_VEHICLE_LOAD_AMOUNT: // 0x07 Loading speed
/* Amount of cargo loaded during a vehicle's "loading tick" */
ei->load_amount = buf->ReadByte();
break;