diff options
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |