From d13de51121a332cf8613a38d7ed5468f971c999f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Oct 2013 22:30:44 +0300 Subject: replace tile size from 32 to mapTitleSize. --- src/gui/popups/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/popups/popupmenu.cpp') 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) { -- cgit v1.2.3-70-g09d2