summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-08-18 16:21:22 +0000
committerfrosch <frosch@openttd.org>2009-08-18 16:21:22 +0000
commitf595668650b342c5d7150fcbb1986b572a7f37e7 (patch)
tree2024ddcad441ec75b00a17bd7ee3843f42d5633d /src/newgrf.cpp
parent2ae150af8e51f07035b840347ab57eb0b91794ae (diff)
downloadopenttd-f595668650b342c5d7150fcbb1986b572a7f37e7.tar.xz
(svn r17211) -Cleanup: Remove unused RailVehicleInfo::ai_rank.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index e815bfc91..4d1f16031 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -633,7 +633,8 @@ static ChangeInfoResult RailVehicleChangeInfo(uint engine, int numinfo, int prop
break;
case 0x18: // AI rank
- rvi->ai_rank = grf_load_byte(&buf);
+ grfmsg(2, "RailVehicleChangeInfo: Property 0x18 'AI rank' not used by NoAI, ignored.");
+ grf_load_byte(&buf);
break;
case 0x19: { // Engine traction type