summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-12-19 20:53:38 +0000
committersmatz <smatz@openttd.org>2008-12-19 20:53:38 +0000
commita7f82bd11a333b4ce9ce9297ebb496e517d0fd35 (patch)
tree8a47852ff2eb80845878381bf4538db774422c75 /src/ai
parente1565c570764f5cdef354aea23d061fd77c25035 (diff)
downloadopenttd-a7f82bd11a333b4ce9ce9297ebb496e517d0fd35.tar.xz
(svn r14693) -Codechange: replace one check in old AI (probably typo, but the effect was the same) (Yexo)
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/default/default.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/default/default.cpp b/src/ai/default/default.cpp
index 73c5336dc..dc9ad189a 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)) {