diff options
author | RichieSams | 2015-01-15 00:37:39 -0600 |
---|---|---|
committer | RichieSams | 2015-01-15 00:40:37 -0600 |
commit | 4f28cec6ac7ef68df373f6c1139a852150789851 (patch) | |
tree | 5800bb4976f0f01f316105ce7f5d9c7268450b0d | |
parent | 28e27ea1d94f1df4c8e68216c086cb57c396ccd8 (diff) | |
download | scummvm-rg350-4f28cec6ac7ef68df373f6c1139a852150789851.tar.gz scummvm-rg350-4f28cec6ac7ef68df373f6c1139a852150789851.tar.bz2 scummvm-rg350-4f28cec6ac7ef68df373f6c1139a852150789851.zip |
ZVISION: Keep the hand cursor during lever movement
We have to explicitly set the cursor each call otherwise the cursor will
be reset to the idle cursor. Addresses part of bug #6761
-rw-r--r-- | engines/zvision/scripting/controls/lever_control.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/scripting/controls/lever_control.cpp b/engines/zvision/scripting/controls/lever_control.cpp index bef51f0e91..249c4c6f9b 100644 --- a/engines/zvision/scripting/controls/lever_control.cpp +++ b/engines/zvision/scripting/controls/lever_control.cpp @@ -236,6 +236,8 @@ bool LeverControl::onMouseMove(const Common::Point &screenSpacePos, const Common } } } + _engine->getCursorManager()->changeCursor(_cursor); + cursorWasChanged = true; } else if (_frameInfo[_currentFrame].hotspot.contains(backgroundImageSpacePos)) { _engine->getCursorManager()->changeCursor(_cursor); cursorWasChanged = true; |