summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
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 */