summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 21:10:57 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 21:10:57 +0000
commit2d3ee123af3c41faf9870abfc8d579c97cc50f2f (patch)
tree2af2196fabea14d3a3fd24575c84c360807b0d36 /src/ai/api
parent6d6939f844783e4e2d6a844aa53e0e059303f2f3 (diff)
downloadopenttd-2d3ee123af3c41faf9870abfc8d579c97cc50f2f.tar.xz
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
Diffstat (limited to 'src/ai/api')
-rw-r--r--src/ai/api/ai_rail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_rail.cpp b/src/ai/api/ai_rail.cpp
index 4443120cc..592d6ddd4 100644
--- a/src/ai/api/ai_rail.cpp
+++ b/src/ai/api/ai_rail.cpp
@@ -175,7 +175,7 @@
if (spec == NULL) {
DEBUG(grf, 1, "%s returned an invalid station ID for 'AI construction/purchase selection (18)' callback", file->filename);
} else {
- p2 |= spec->sclass | index << 8;
+ p2 |= spec->cls_id | index << 8;
}
}