NEVERHOOD: Add missing door sound effects (bug #13224)

This was done by trial-and-error, but it sounds right when comparing it
to the playthrough referenced in the bug report.
This commit is contained in:
Torbjörn Andersson 2022-01-28 12:58:43 +01:00
parent cbc014caa2
commit a58f0009b2

View File

@ -222,6 +222,7 @@ Scene1608::Scene1608(NeverhoodEngine *vm, Module *parentModule, int which)
}
} else if (which == 0) {
// Klaymen entering from the left
playSound(0, calcHash("fxDoorOpen23"));
_vm->gameState().which = 0;
setRectList(0x004B47D0);
insertKlaymen<KmScene1608>(0, 438);
@ -426,7 +427,7 @@ uint32 Scene1608::hmLowerFloor(int messageNum, const MessageParam &param, Entity
_klaymen->setVisible(false);
showMouse(false);
_sprite1->setVisible(false);
//sendMessage(_asDoor, NM_KLAYMEN_CLOSE_DOOR, 0); // Play sound?
playSound(0, calcHash("fxDoorClose23"));
_countdown1 = 28;
}
break;