(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases

This commit is contained in:
rubidium 2009-09-19 10:19:15 +00:00
parent e8ddf001c8
commit 9d7fe9bd86
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ public:
{
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);