diff options
author | frosch <frosch@openttd.org> | 2012-05-06 11:38:52 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-06 11:38:52 +0000 |
commit | 477a09d13edad166fd5fd3b60ded53b2c1d83c27 (patch) | |
tree | 31bbc858490d251a63c1d629c73688517314754a /src/town_cmd.cpp | |
parent | 3e7642abe5c8e91d1eac77586fe2f3e3c4dc97e9 (diff) | |
download | openttd-477a09d13edad166fd5fd3b60ded53b2c1d83c27.tar.xz |
(svn r24205) -Feature [FS#5178-ish]: Show a hint in the supplies tab of station windows, if the station is affected by exclusive transport rights.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 7cd6770f1..e42dd8362 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2822,6 +2822,8 @@ static CommandCost TownActionBuyRights(Town *t, DoCommandFlag flags) t->exclusivity = _current_company; ModifyStationRatingAround(t->xy, _current_company, 130, 17); + + SetWindowClassesDirty(WC_STATION_VIEW); } return CommandCost(); } |