summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-31 22:53:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-31 22:53:42 +0300
commit896d41e4b073046c59933ea8829474bd82b9c506 (patch)
tree737bbfa3381f9d0ddd8629faf29dd6dce0ca4be3 /src/gui/popups
parent1962d62c1e209af7d61e85a4ed3675f0a16e5924 (diff)
downloadmanaplus-896d41e4b073046c59933ea8829474bd82b9c506.tar.gz
manaplus-896d41e4b073046c59933ea8829474bd82b9c506.tar.bz2
manaplus-896d41e4b073046c59933ea8829474bd82b9c506.tar.xz
manaplus-896d41e4b073046c59933ea8829474bd82b9c506.zip
Improve special layers draw speed in same way like fringe layer.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp1
1 files changed, 1 insertions, 0 deletions
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<const int>(mMapItem->getY());
specialLayer->setTile(x, y,
CAST_S32(MapItemType::EMPTY));
+ specialLayer->updateCache();
if (socialWindow)
socialWindow->removePortal(x, y);
if (isHome && localPlayer)