diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-01 22:30:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-01 22:30:44 +0300 |
commit | d13de51121a332cf8613a38d7ed5468f971c999f (patch) | |
tree | 253c2911e291303fd90eb5d61c23076630782a11 /src/gui/popups | |
parent | 6915c38ca9c35bfb9a5ea05fe957463d644a75de (diff) | |
download | plus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.gz plus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.bz2 plus-d13de51121a332cf8613a38d7ed5468f971c999f.tar.xz plus-d13de51121a332cf8613a38d7ed5468f971c999f.zip |
replace tile size from 32 to mapTitleSize.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 |
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) { |