summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-01 22:30:44 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-01 22:30:44 +0300
commitd13de51121a332cf8613a38d7ed5468f971c999f (patch)
tree253c2911e291303fd90eb5d61c23076630782a11 /src/gui/popups/popupmenu.cpp
parent6915c38ca9c35bfb9a5ea05fe957463d644a75de (diff)
downloadManaVerse-d13de51121a332cf8613a38d7ed5468f971c999f.tar.gz
ManaVerse-d13de51121a332cf8613a38d7ed5468f971c999f.tar.bz2
ManaVerse-d13de51121a332cf8613a38d7ed5468f971c999f.tar.xz
ManaVerse-d13de51121a332cf8613a38d7ed5468f971c999f.zip
replace tile size from 32 to mapTitleSize.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-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)
{