aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2016-01-14 01:17:42 +0200
committerFilippos Karapetis2016-01-14 23:41:31 +0200
commit4f0985c2de41bb32dc46bbbc3ce920cb9c580311 (patch)
tree5c9e493d2daa54c2802802c3496a3725b6b192f7 /engines
parent1d4a62a02846fb34296e60c402ee2d282ad19496 (diff)
downloadscummvm-rg350-4f0985c2de41bb32dc46bbbc3ce920cb9c580311.tar.gz
scummvm-rg350-4f0985c2de41bb32dc46bbbc3ce920cb9c580311.tar.bz2
scummvm-rg350-4f0985c2de41bb32dc46bbbc3ce920cb9c580311.zip
LAB: Hide the mouse cursor while fading when closing the map
Diffstat (limited to 'engines')
-rw-r--r--engines/lab/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp
index 55e5f7832e..18c1b17a43 100644
--- a/engines/lab/map.cpp
+++ b/engines/lab/map.cpp
@@ -541,12 +541,13 @@ void LabEngine::doMap() {
_event->mouseShow();
_graphics->screenUpdate();
processMap(_roomNum);
+ _event->mouseHide();
_event->attachButtonList(nullptr);
_graphics->fade(false);
_graphics->blackAllScreen();
_graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0);
freeMapData();
- _graphics->blackAllScreen();
+ _event->mouseShow();
_graphics->screenUpdate();
}