diff options
author | Johannes Schickel | 2008-05-10 17:41:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-10 17:41:34 +0000 |
commit | 95a85a8984bbd9e6fe9a84d1fa83f1bf1652dc46 (patch) | |
tree | 21dfbf861ca2899702b918377e39aeb3b191e318 /engines/kyra/kyra_mr.cpp | |
parent | 870a330c66cdd2f6ae5ca973fcdce802b3f8c48e (diff) | |
download | scummvm-rg350-95a85a8984bbd9e6fe9a84d1fa83f1bf1652dc46.tar.gz scummvm-rg350-95a85a8984bbd9e6fe9a84d1fa83f1bf1652dc46.tar.bz2 scummvm-rg350-95a85a8984bbd9e6fe9a84d1fa83f1bf1652dc46.zip |
Simplification in updateItemAnimations in KyraEngine_HoF and KyraEngine_MR.
svn-id: r31976
Diffstat (limited to 'engines/kyra/kyra_mr.cpp')
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index d2987d314f..481a3d124f 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -1267,11 +1267,9 @@ void KyraEngine_MR::updateMouse() { } if (type != 0 && type != _handItemSet && !hasItemCollision) { - _mouseState = _handItemSet = type; _handItemSet = type; _screen->setMouseCursor(offsetX, offsetY, _gameShapes[shape]); } else if (type == 0 && _handItemSet != _itemInHand && mouse.x > 8 && mouse.x < 311 && mouse.y < 171 && mouse.y > 8) { - _mouseState = 0; setItemMouseCursor(); } else if (mouse.y > 187 && _handItemSet > -4 && type == 0 && !_inventoryState) { showInventory(); |