From d7e700f370c258a5f4786d972af3666b93b71f94 Mon Sep 17 00:00:00 2001 From: athrxx Date: Wed, 16 Feb 2011 16:23:44 +0100 Subject: 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. --- engines/kyra/lol.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/kyra/lol.cpp') diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 36bc0c99d7..63a36e3387 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -931,6 +931,11 @@ void LoLEngine::runLoop() { checkFloatingPointerRegions(); gui_updateInput(); + if (_updateHandItemCursor) { + _updateHandItemCursor = false; + setHandItem(_itemInHand); + } + update(); if (_sceneUpdateRequired) -- cgit v1.2.3