aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 63a36e3387..7003d8c38f 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -932,6 +932,9 @@ void LoLEngine::runLoop() {
gui_updateInput();
if (_updateHandItemCursor) {
+ // This works around an issue which would occur when setHandItem(_itemInHand)
+ // was called from inside loadGameState(). When loading via GMM the
+ // mouse cursor would not be set correctly.
_updateHandItemCursor = false;
setHandItem(_itemInHand);
}