diff options
Diffstat (limited to 'ai_old.c')
-rw-r--r-- | ai_old.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1075,7 +1075,7 @@ static void AiWantPassengerRoute(Player *p) static void AiWantTrainRoute(Player *p) { uint16 r; - p->ai.railtype_to_use = p->max_railtype - 1; + p->ai.railtype_to_use = GetBestRailtype(p); r = (uint16)Random(); if (r > 0xD000) { |