summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-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();