diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-31 22:53:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-31 22:53:42 +0300 |
commit | 896d41e4b073046c59933ea8829474bd82b9c506 (patch) | |
tree | 737bbfa3381f9d0ddd8629faf29dd6dce0ca4be3 /src/gui | |
parent | 1962d62c1e209af7d61e85a4ed3675f0a16e5924 (diff) | |
download | plus-896d41e4b073046c59933ea8829474bd82b9c506.tar.gz plus-896d41e4b073046c59933ea8829474bd82b9c506.tar.bz2 plus-896d41e4b073046c59933ea8829474bd82b9c506.tar.xz plus-896d41e4b073046c59933ea8829474bd82b9c506.zip |
Improve special layers draw speed in same way like fringe layer.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 1 |
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) |