aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorathrxx2011-02-16 16:31:22 +0100
committerathrxx2011-02-16 16:31:22 +0100
commite23696d90077bbda05421a72ee3290bb00e52b22 (patch)
tree0d7a4e481c4423aba8f3b63841f9110cf82cc36e /engines/kyra/lol.cpp
parentd7e700f370c258a5f4786d972af3666b93b71f94 (diff)
downloadscummvm-rg350-e23696d90077bbda05421a72ee3290bb00e52b22.tar.gz
scummvm-rg350-e23696d90077bbda05421a72ee3290bb00e52b22.tar.bz2
scummvm-rg350-e23696d90077bbda05421a72ee3290bb00e52b22.zip
KYRA/LOL: add comments for last commit
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);
}