From 896d41e4b073046c59933ea8829474bd82b9c506 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 31 Dec 2016 22:53:42 +0300 Subject: Improve special layers draw speed in same way like fringe layer. --- src/gui/popups/popupmenu.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 4ae0966da..b1efa3593 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1186,6 +1186,7 @@ void PopupMenu::handleLink(const std::string &link, const int y = static_cast(mMapItem->getY()); specialLayer->setTile(x, y, CAST_S32(MapItemType::EMPTY)); + specialLayer->updateCache(); if (socialWindow) socialWindow->removePortal(x, y); if (isHome && localPlayer) -- cgit v1.2.3-70-g09d2