summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2011-11-24 18:55:56 +0000
committerpeter1138 <peter1138@openttd.org>2011-11-24 18:55:56 +0000
commit3e1aaa1235850da566b86bd003e99491e32c5569 (patch)
treee903233b1e304f9a393de01b02fbddb40c67364b /src/waypoint_gui.cpp
parent25a5257718ab5e70cf679411dd3ca4531923e7ed (diff)
downloadopenttd-3e1aaa1235850da566b86bd003e99491e32c5569.tar.xz
(svn r23321) -Fix (r23316): Extra viewports and waypoint detail opened up at wrong zoom level.
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 0ece60177..e3bb01ae8 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -76,7 +76,7 @@ public:
this->flags4 |= WF_DISABLE_VP_SCROLL;
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WAYPVW_VIEWPORT);
- nvp->InitializeViewport(this, this->GetCenterTile(), ZOOM_LVL_MIN);
+ nvp->InitializeViewport(this, this->GetCenterTile(), ZOOM_LVL_VIEWPORT);
this->OnInvalidateData(0);
}