summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-24 11:47:12 +0000
committerrubidium <rubidium@openttd.org>2009-07-24 11:47:12 +0000
commitcf38a5bee6628f4be58a1bd7774658cf86807d5c (patch)
tree2c2890dd002ff6aee0e4fc1905796b623a040153 /src/ai
parent2c6b5237f68b1ce444f35eef6e31e7c0ff49d7cc (diff)
downloadopenttd-cf38a5bee6628f4be58a1bd7774658cf86807d5c.tar.xz
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
Diffstat (limited to 'src/ai')
-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 766c23d53..edfe1441f 100644
--- a/src/ai/api/ai_rail.cpp
+++ b/src/ai/api/ai_rail.cpp
@@ -38,7 +38,7 @@
{
if (!::IsValidTile(tile)) return false;
- return ::IsRailwayStationTile(tile);
+ return ::IsRailStationTile(tile);
}
/* static */ bool AIRail::IsRailWaypointTile(TileIndex tile)