summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-08 16:35:45 +0000
committerrubidium <rubidium@openttd.org>2009-01-08 16:35:45 +0000
commitc8c61e36bdfe2de8e3785b6c3912a733f099df3e (patch)
tree9a9133dd8ea3555a253b9e604560b979c9ed0481 /src/station.cpp
parentb34b3865882d87d3ad89403e1691c2a18b1cfb7e (diff)
downloadopenttd-c8c61e36bdfe2de8e3785b6c3912a733f099df3e.tar.xz
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp
index df256adb3..bb961b07f 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -104,6 +104,8 @@ Station::~Station()
xy = INVALID_TILE;
+ InvalidateWindowData(WC_SELECT_STATION, 0, 0);
+
for (CargoID c = 0; c < NUM_CARGO; c++) {
goods[c].cargo.Truncate(0);
}