summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
Diffstat (limited to 'ai')
-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;
}
}