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

AndywinXp noreply at scummvm.org
Mon Oct 13 18:49:10 UTC 2025


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

Summary:
dd1dcb2240 SCUMM: HE: Fix stopSound opcode for HE60-62


Commit: dd1dcb2240c91dae871c6fccfb12a758ce8c480a
    https://github.com/scummvm/scummvm/commit/dd1dcb2240c91dae871c6fccfb12a758ce8c480a
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-10-13T20:49:04+02:00

Commit Message:
SCUMM: HE: Fix stopSound opcode for HE60-62

Now music should actually stop when pressing the M key.

Changed paths:
    engines/scumm/he/sound_he.cpp


diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp
index 280daa7c32b..e09363d126d 100644
--- a/engines/scumm/he/sound_he.cpp
+++ b/engines/scumm/he/sound_he.cpp
@@ -229,7 +229,7 @@ bool SoundHE::isSoundInUse(int sound) const {
 void SoundHE::stopSound(int sound) {
 	int channel = -1;
 
-	if (_vm->_game.heversion == 60) {
+	if (_vm->_game.heversion < 70) {
 		if (sound == -2) {
 			sound = _heChannel[0].sound;
 		} else if (sound == -1) {




More information about the Scummvm-git-logs mailing list