diff options
-rw-r--r-- | engines/mohawk/riven_card.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index bb7f617178..3aab79d82f 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -828,10 +828,16 @@ void RivenHotspot::applyPropertiesPatches(uint32 cardGlobalId) { // change the name of the hotspot to look at the bottom of the door to // "down" instead of "forwardleft". That way the keyboard navigation // does not spoil that you can go below the door. + // Also make sure the forward keyboard action plays the try to open + // door animation. if (cardGlobalId == 0x87ac && _blstID == 10) { _nameResource = _vm->getStack()->getIdFromName(kHotspotNames, "down"); debugC(kRivenDebugPatches, "Applied change hotspot name to 'down' patch to card %x", cardGlobalId); } + if (cardGlobalId == 0x87ac && _blstID == 12) { + _nameResource = _vm->getStack()->getIdFromName(kHotspotNames, "opendoor"); + debugC(kRivenDebugPatches, "Applied change hotspot name to 'opendoor' patch to card %x", cardGlobalId); + } } void RivenHotspot::applyScriptPatches(uint32 cardGlobalId) { |