From 13eb46eb9900bef3ed33da38454f2d196104a5c4 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Fri, 21 Jan 2011 19:45:33 +0000 Subject: MOHAWK: Fix disabling inventory features in CSTime. svn-id: r55388 --- engines/mohawk/cstime_game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/mohawk/cstime_game.cpp') 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); } } -- cgit v1.2.3