[Scummvm-git-logs] scummvm master -> a58f0009b26099c04e34a2e7e0696f6643634ca5

eriktorbjorn noreply at scummvm.org
Fri Jan 28 12:00:06 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: a58f0009b26099c04e34a2e7e0696f6643634ca5
    https://github.com/scummvm/scummvm/commit/a58f0009b26099c04e34a2e7e0696f6643634ca5
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2022-01-28T12:59:50+01:00

Commit Message:
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.

Changed paths:
    engines/neverhood/modules/module1600.cpp


diff --git a/engines/neverhood/modules/module1600.cpp b/engines/neverhood/modules/module1600.cpp
index 35eb69e9866..2d38c3d90e5 100644
--- a/engines/neverhood/modules/module1600.cpp
+++ b/engines/neverhood/modules/module1600.cpp
@@ -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;




More information about the Scummvm-git-logs mailing list