diff options
author | Alyssa Milburn | 2011-01-21 19:45:33 +0000 |
---|---|---|
committer | Alyssa Milburn | 2011-01-21 19:45:33 +0000 |
commit | 13eb46eb9900bef3ed33da38454f2d196104a5c4 (patch) | |
tree | 17f5decc22af59ada71f107d52f73aed45ce164e /engines/mohawk/cstime_game.cpp | |
parent | 0c797cf359c0191ee78f0fbcf391af87059c017c (diff) | |
download | scummvm-rg350-13eb46eb9900bef3ed33da38454f2d196104a5c4.tar.gz scummvm-rg350-13eb46eb9900bef3ed33da38454f2d196104a5c4.tar.bz2 scummvm-rg350-13eb46eb9900bef3ed33da38454f2d196104a5c4.zip |
MOHAWK: Fix disabling inventory features in CSTime.
svn-id: r55388
Diffstat (limited to 'engines/mohawk/cstime_game.cpp')
-rw-r--r-- | engines/mohawk/cstime_game.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/cstime_game.cpp b/engines/mohawk/cstime_game.cpp index 1f359c24f0..addddea3e8 100644 --- a/engines/mohawk/cstime_game.cpp +++ b/engines/mohawk/cstime_game.cpp @@ -704,6 +704,7 @@ CSTimeInventoryObject *CSTimeCase::loadInventoryObject(uint id) { invObj->hotspotId = invObjStream->readUint16BE(); invObj->featureId = invObjStream->readUint16BE(); invObj->canTake = invObjStream->readUint16BE(); + invObj->featureDisabled = false; debug(" invobj '%s', hotspot id %d, feature id %d, can take %d", _rolloverText[invObj->stringId].c_str(), invObj->hotspotId, invObj->featureId, invObj->canTake); uint16 numConsumableLocations = invObjStream->readUint16BE(); debug(" Loading %d consumable locations...", numConsumableLocations); @@ -970,6 +971,7 @@ void CSTimeScene::mouseMove(Common::Point &pos) { // FIXME: 0x2000 is set! help? uint32 flags = kFeatureNewNoLoop | 0x2000; invObj->feature = _vm->getView()->installViewFeature(id, flags, &grabPoint); + invObj->featureDisabled = false; _vm->getInterface()->startDragging(hotspot.invObjId); } } |