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
commit7a5798695decde2af2ba719aee96f2bcaa7d9e95 (patch)
tree9a9133dd8ea3555a253b9e604560b979c9ed0481 /src/station.cpp
parentd29dc478ddfc06715ca0d7b346e70c9a198629d5 (diff)
downloadopenttd-7a5798695decde2af2ba719aee96f2bcaa7d9e95.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);
}