aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/cstime_game.cpp')
-rw-r--r--engines/mohawk/cstime_game.cpp2
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);
}
}