BURIED: Fix Arthur Being Visible After AI Biochip is Lost

Fix for bug #13193 (BURIED: Arthur still visible after being lost
from Biochip Inventory).
This commit is contained in:
D G Turner
2022-01-01 23:22:03 +00:00
parent 3e32365f0f
commit 7bb707e986
+1
View File
@@ -346,6 +346,7 @@ int LairEntry::onCharacter(Window *viewWindow, const Common::KeyState &character
_vm->_sound->stopSoundEffect(_currentSoundID);
((GameUIWindow *)viewWindow->getParent())->_inventoryWindow->removeItem(kItemBioChipAI);
((GameUIWindow *)viewWindow->getParent())->_inventoryWindow->addItem(kItemBioChipBlank);
((GameUIWindow *)viewWindow->getParent())->_bioChipRightWindow->changeCurrentBioChip(kItemBioChipBlank);
_vm->_sound->setAmbientSound(_vm->getFilePath(3, 2, SF_AMBIENT), false, 64);
_passwordIndex = 5;