aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/saveload_lol.cpp
diff options
context:
space:
mode:
authorathrxx2011-02-16 16:23:44 +0100
committerathrxx2011-02-16 16:23:44 +0100
commitd7e700f370c258a5f4786d972af3666b93b71f94 (patch)
tree5a4bf4203b9088e29ee0146715720ae46208bf08 /engines/kyra/saveload_lol.cpp
parent68e468ee01b243e31b154a7fab42396c9b24e5f0 (diff)
downloadscummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.tar.gz
scummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.tar.bz2
scummvm-rg350-d7e700f370c258a5f4786d972af3666b93b71f94.zip
KYRA/LOL: fixed hand item cursor bug
This fixes a bug when loading savegames with different active hand items via GMM. The mouse cursor was not set to the active hand item in these cases.
Diffstat (limited to 'engines/kyra/saveload_lol.cpp')
-rw-r--r--engines/kyra/saveload_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/saveload_lol.cpp b/engines/kyra/saveload_lol.cpp
index ee4fbf4dc1..b6c0693a16 100644
--- a/engines/kyra/saveload_lol.cpp
+++ b/engines/kyra/saveload_lol.cpp
@@ -263,7 +263,7 @@ Common::Error LoLEngine::loadGameState(int slot) {
int t = _credits;
_credits = 0;
giveCredits(t, 0);
- setHandItem(_itemInHand);
+ setDelayedCursorUpdate();
loadLevel(_currentLevel);
gui_drawPlayField();
timerSpecialCharacterUpdate(0);