From eda592128415c3f19522f53ccf104ca7a9d63a4d Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 5 Dec 2007 17:08:10 +0000 Subject: (svn r11576) -Codechange: enumerize and comment station GUI --- src/station.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/station.cpp') 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 -- cgit v1.2.3-54-g00ecf