summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/gui/popups
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
mv-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 0cbc596fd..69fd7d879 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1175,8 +1175,8 @@ void PopupMenu::handleLink(const std::string &link,
{
const bool isHome = (mMapItem->getType()
== CAST_S32(MapItemType::HOME));
- const int x = static_cast<const int>(mMapItem->getX());
- const int y = static_cast<const int>(mMapItem->getY());
+ const int x = static_cast<int>(mMapItem->getX());
+ const int y = static_cast<int>(mMapItem->getY());
specialLayer->setTile(x, y,
CAST_S32(MapItemType::EMPTY));
specialLayer->updateCache();