diff options
author | Strangerke | 2016-06-07 23:33:50 +0200 |
---|---|---|
committer | Strangerke | 2016-06-07 23:33:50 +0200 |
commit | 30b8030c1086e0e7ef8946c1f0891f01d7f30d3b (patch) | |
tree | 9a1f5fda78ebb3bde5beffeb2c2727161f3e9ffc | |
parent | 0887199400cccc7d666ed22a9864665b43376c72 (diff) | |
download | scummvm-rg350-30b8030c1086e0e7ef8946c1f0891f01d7f30d3b.tar.gz scummvm-rg350-30b8030c1086e0e7ef8946c1f0891f01d7f30d3b.tar.bz2 scummvm-rg350-30b8030c1086e0e7ef8946c1f0891f01d7f30d3b.zip |
GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor adequately
-rw-r--r-- | engines/gnap/gnap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp index 780955b9ae..6a03bf8eb0 100644 --- a/engines/gnap/gnap.cpp +++ b/engines/gnap/gnap.cpp @@ -525,9 +525,11 @@ void GnapEngine::updateMouseCursor() { } if (_isWaiting && ((_gnap->_actionStatus < 0 && _plat->_actionStatus < 0) || _sceneWaiting)) { setCursor(kDisabledCursors[_verbCursor]); + showCursor(); _isWaiting = false; } else if (!_isWaiting && (_gnap->_actionStatus >= 0 || _plat->_actionStatus >= 0) && !_sceneWaiting) { setCursor(WAIT_CURSOR); + hideCursor(); _isWaiting = true; } } |