TITANIC: Fix opening/closing Phonograph cylinder holder

This commit is contained in:
Paul Gilbert 2017-02-14 21:20:23 -05:00
parent fb50d5934d
commit 01bea5a6d8
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ bool CPhonograph::PhonographPlayMsg(CPhonographPlayMsg *msg) {
_isPlaying = true;
msg->_value = 1;
} else {
stopGlobalSound(0, -1);
stopGlobalSound(false, -1);
playGlobalSound(cylinderMsg._name, -2, true, true, 0);
_isPlaying = true;
msg->_value = 1;

View File

@ -66,7 +66,7 @@ void CRestaurantCylinderHolder::load(SimpleFile *file) {
bool CRestaurantCylinderHolder::EjectCylinderMsg(CEjectCylinderMsg *msg) {
_field11C = true;
bool hasCylinder = findByName("Phonograph Cylinder") != nullptr;
bool hasCylinder = findByName("Phonograph Cylinder", true) != nullptr;
if (_isOpen) {
playClip(hasCylinder ? "CloseHolder_Full" : "CloseHolder_Empty",