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
commit0e075e271e7c9885fbc1ddf5645d96afd7baf607 (patch)
tree5ca516bd87b296d98be551c6abff2fb5d1520ff2
parent9d0e7b6458124277d850e9bc524d06fd2046c424 (diff)
downloadopenttd-0e075e271e7c9885fbc1ddf5645d96afd7baf607.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);
}
}