summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/town_gui.cpp2
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);