mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
TITANIC: Fix opening/closing Phonograph cylinder holder
This commit is contained in:
parent
fb50d5934d
commit
01bea5a6d8
@ -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;
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user