summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 0d81e4314..015067a6f 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1119,7 +1119,7 @@ void PopupMenu::handleLink(const std::string &link,
else if (link == "movecamera" && (mX || mY))
{
if (viewport)
- viewport->moveCameraToPosition(mX * 32, mY * 32);
+ viewport->moveCameraToPosition(mX * mapTileSize, mY * mapTileSize);
}
else if (link == "split" && mItem)
{