From e23696d90077bbda05421a72ee3290bb00e52b22 Mon Sep 17 00:00:00 2001 From: athrxx Date: Wed, 16 Feb 2011 16:31:22 +0100 Subject: KYRA/LOL: add comments for last commit --- engines/kyra/kyra_mr.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/kyra/kyra_mr.cpp') diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index 461ed26710..b863ef5725 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -967,6 +967,9 @@ void KyraEngine_MR::runLoop() { removeInputTop(); 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); } -- cgit v1.2.3