diff options
author | smatz <smatz@openttd.org> | 2007-12-05 17:08:10 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-12-05 17:08:10 +0000 |
commit | eda592128415c3f19522f53ccf104ca7a9d63a4d (patch) | |
tree | 3cbf0f2627d7c1bc42c9dfe7411d41725768339f /src/station.cpp | |
parent | 079482f0a214ee12b17b2728fa0cbaec4d752544 (diff) | |
download | openttd-eda592128415c3f19522f53ccf104ca7a9d63a4d.tar.xz |
(svn r11576) -Codechange: enumerize and comment station GUI
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp index e25d61252..2f69b1bac 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -36,6 +36,7 @@ #include "helpers.hpp" #include "cargotype.h" #include "roadveh.h" +#include "station_gui.h" Station::Station(TileIndex tile) { @@ -133,7 +134,7 @@ void Station::AddFacility(byte new_facility_bit, TileIndex facil_xy) void Station::MarkDirty() const { if (sign.width_1 != 0) { - InvalidateWindowWidget(WC_STATION_VIEW, index, 1); + InvalidateWindowWidget(WC_STATION_VIEW, index, SVW_CAPTION); /* We use ZOOM_LVL_MAX here, as every viewport can have an other zoom, * and there is no way for us to know which is the biggest. So make the |