(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 310465da07
commit 1be2568438

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);