summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-06-21 09:19:27 +0000
committerfrosch <frosch@openttd.org>2015-06-21 09:19:27 +0000
commit62bc57db776192d9f1988628dfb1f27392f86c40 (patch)
treee6767630bbd3cc987b869310abb1da88a439e080 /src/station_cmd.cpp
parent0731af42fda95a6c4e70f7b5ecfe4a8dc84093d3 (diff)
downloadopenttd-62bc57db776192d9f1988628dfb1f27392f86c40.tar.xz
(svn r27311) -Fix: Mark infrastructure window dirty in more cases. (marcole)
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index f5ecd727c..eb90c29ab 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1957,6 +1957,7 @@ static CommandCost RemoveRoadStop(TileIndex tile, DoCommandFlag flags)
}
}
Company::Get(st->owner)->infrastructure.station--;
+ DirtyCompanyInfrastructureWindows(st->owner);
if (IsDriveThroughStopTile(tile)) {
/* Clears the tile for us */