summaryrefslogtreecommitdiff
path: root/ai/trolly
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-31 19:10:54 +0000
committercelestar <celestar@openttd.org>2006-03-31 19:10:54 +0000
commit2ab5b8e666d14df7437bfa01a78f7ade3af69fa5 (patch)
treeb1afcd4a3ffa7895ccd33c4d034fb543b8d4765f /ai/trolly
parentbb8bdcb5d91bf76c164813fc8d2d27f86bd3da76 (diff)
downloadopenttd-2ab5b8e666d14df7437bfa01a78f7ade3af69fa5.tar.xz
(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
Diffstat (limited to 'ai/trolly')
-rw-r--r--ai/trolly/trolly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/trolly/trolly.c b/ai/trolly/trolly.c
index 006e04850..8c466c218 100644
--- a/ai/trolly/trolly.c
+++ b/ai/trolly/trolly.c
@@ -617,7 +617,7 @@ static void AiNew_State_FindStation(Player *p)
if (AiNew_CheckVehicleStation(p, st)) {
// We did found a station that was good enough!
new_tile = st->xy;
- direction = GetRoadStationDir(st->xy);
+ direction = GetRoadStopDir(st->xy);
break;
}
}