summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-14 20:20:24 +0000
committertron <tron@openttd.org>2005-11-14 20:20:24 +0000
commit7b7593d092dabffda4aaeafa36d7439fc44e77e1 (patch)
tree5ca516bd87b296d98be551c6abff2fb5d1520ff2
parentf7abff5f963cddfdd134ac52ffd8e72e3ed88f0c (diff)
downloadopenttd-7b7593d092dabffda4aaeafa36d7439fc44e77e1.tar.xz
(svn r3182) Fix braino in r3181
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index b0bceaf8e..e037e5081 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2533,7 +2533,7 @@ void OnTick_Station(void)
if (st->xy != 0) StationHandleBigTick(st);
FOR_ALL_STATIONS(st) {
- if (st->xy != INVALID_TILE) StationHandleSmallTick(st);
+ if (st->xy != 0) StationHandleSmallTick(st);
}
}