diff options
author | Bastien Bouclet | 2017-08-07 21:26:57 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-08-10 19:02:10 +0200 |
commit | 18fe4cebe4ce54ae48d4834e9e791710610826a3 (patch) | |
tree | e711660bfe647e4c4c56890b8f71640e9057d1b6 | |
parent | 5a4400e390faa9a0ee27b4d7f3207253d1342a2a (diff) | |
download | scummvm-rg350-18fe4cebe4ce54ae48d4834e9e791710610826a3.tar.gz scummvm-rg350-18fe4cebe4ce54ae48d4834e9e791710610826a3.tar.bz2 scummvm-rg350-18fe4cebe4ce54ae48d4834e9e791710610826a3.zip |
MOHAWK: Riven: Trigger the try to open the back rotating room door
When using keyboard navigation
-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) { |