From a7f82bd11a333b4ce9ce9297ebb496e517d0fd35 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 19 Dec 2008 20:53:38 +0000 Subject: [PATCH] (svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo) --- src/ai/default/default.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp index 73c5336dcb..dc9ad189a2 100644 --- a/src/ai/default/default.cpp +++ b/src/ai/default/default.cpp @@ -3690,7 +3690,7 @@ static void AiStateRemoveStation(Company *c) FOR_ALL_STATIONS(st) { if (st->owner == _current_company && !in_use[st->index] && ( (st->bus_stops != NULL && (tile = st->bus_stops->xy) != 0) || - (st->truck_stops != NULL && (tile = st->truck_stops->xy)) != 0 || + (st->truck_stops != NULL && (tile = st->truck_stops->xy) != 0) || (tile = st->train_tile) != 0 || (tile = st->dock_tile) != 0 || (tile = st->airport_tile) != 0)) {