From 9d7fe9bd8688f2d4123dc98e2b222a5be70b306f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 19 Sep 2009 10:19:15 +0000 Subject: (svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases --- src/town_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 11d3446eb..d921e30ff 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -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); -- cgit v1.2.3-70-g09d2