Mercurial > hg > openttd
changeset 13071:f9883dc4e7e7 draft
(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 19 Sep 2009 10:19:15 +0000 |
parents | 1c4c4ae8d716 |
children | 75bd67594af2 |
files | src/town_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -270,7 +270,7 @@ { this->CreateNestedTree(desc); - this->town = Town::Get(this->window_number); + this->town = Town::Get(window_number); if (this->town->larger_town) this->nested_array[TVW_CAPTION]->widget_data = STR_TOWN_VIEW_CITY_CAPTION; this->FinishInitNested(desc, window_number);