summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 38314f3fb..f199d8a97 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -445,7 +445,7 @@ public:
switch (widget) {
case WID_TV_CENTER_VIEW: // scroll to location
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(this->town->xy);
+ ShowExtraViewportWindow(this->town->xy);
} else {
ScrollMainWindowToTile(this->town->xy);
}
@@ -913,7 +913,7 @@ public:
const Town *t = this->towns[id_v];
assert(t != nullptr);
if (_ctrl_pressed) {
- ShowExtraViewPortWindow(t->xy);
+ ShowExtraViewportWindow(t->xy);
} else {
ScrollMainWindowToTile(t->xy);
}