diff options
Diffstat (limited to 'engines/kyra/kyra_mr.cpp')
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index d24ecff83d..99240167e7 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -99,7 +99,7 @@ KyraEngine_MR::KyraEngine_MR(OSystem *system, const GameFlags &flags) : KyraEngi _unk5 = 0; _unkSceneScreenFlag1 = false; _noScriptEnter = true; - _itemInHand = _mouseState = -1; + _itemInHand = _mouseState = kItemNone; _savedMouseState = -1; _unk4 = 0; _loadingState = false; @@ -1167,8 +1167,8 @@ void KyraEngine_MR::updateMouse() { } if (hasItemCollision && _mouseState < -1 && _itemInHand < 0) { - _mouseState = -1; - _itemInHand = -1; + _mouseState = kItemNone; + _itemInHand = kItemNone; _screen->setMouseCursor(0, 0, _gameShapes[0]); } |