diff options
author | Johannes Schickel | 2009-06-29 23:14:35 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-29 23:14:35 +0000 |
commit | 267efdc8742fb64e72bc50e78e1d719451f2144e (patch) | |
tree | 6651579d2c2374969ab60fb30dadafd7db1d2c3f /engines/kyra | |
parent | 18940ffd46b93577265b8853979fdbca9b52b3ad (diff) | |
download | scummvm-rg350-267efdc8742fb64e72bc50e78e1d719451f2144e.tar.gz scummvm-rg350-267efdc8742fb64e72bc50e78e1d719451f2144e.tar.bz2 scummvm-rg350-267efdc8742fb64e72bc50e78e1d719451f2144e.zip |
Fix invisible mouse cursor, when picking up items.
svn-id: r41967
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/screen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 7f10fb6a5b..fa54bffa98 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -2588,9 +2588,14 @@ void Screen::hideMouse() { } void Screen::showMouse() { - if (_mouseLockCount == 1) + if (_mouseLockCount == 1) { CursorMan.showMouse(true); + // We need to call OSystem::updateScreen here, else the mouse cursor + // will only be visible on mouse movment. + _system->updateScreen(); + } + if (_mouseLockCount > 0) _mouseLockCount--; } |