diff options
author | smatz <smatz@openttd.org> | 2008-12-26 18:01:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-12-26 18:01:15 +0000 |
commit | 419f6e099f3b32a8b1f988dd7c912754589bf6d5 (patch) | |
tree | c063679e6b2160162b5c0ab232ae441833698e1d /src/station_gui.cpp | |
parent | 2e2086f3f884487b4f456bd4b4c1e21f96987b59 (diff) | |
download | openttd-419f6e099f3b32a8b1f988dd7c912754589bf6d5.tar.xz |
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index da5cc5773..537de777b 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -338,7 +338,7 @@ public: const Station *st = this->stations[i]; int x; - assert(st->xy != 0); + assert(st->xy != INVALID_TILE); /* Do not do the complex check HasStationInUse here, it may be even false * when the order had been removed and the station list hasn't been removed yet */ |