mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
TITANIC: Fix breaking long stick dispensor glass with hammer
This commit is contained in:
parent
635bbed7c3
commit
1fcb79093c
@ -56,12 +56,12 @@ void CLongStickDispenser::load(SimpleFile *file) {
|
||||
}
|
||||
|
||||
bool CLongStickDispenser::PuzzleSolvedMsg(CPuzzleSolvedMsg *msg) {
|
||||
if (!_fieldBC && !_fieldC4 && !_fieldC0) {
|
||||
if (!_fieldBC && _fieldC4 == 1 && !_fieldC0) {
|
||||
CStatusChangeMsg statusMsg;
|
||||
statusMsg.execute("ShatterGlass");
|
||||
_fieldC0 = 1;
|
||||
loadFrame(19);
|
||||
} else if (_fieldC0) {
|
||||
} else if (_fieldC0 != 1) {
|
||||
playSound(g_vm->isGerman() ? "z#594.wav" : "z#63.wav");
|
||||
petDisplayMessage(1, GLASS_IS_UNBREAKABLE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user