[Scummvm-git-logs] scummvm master -> 700b7b6520aa0b7f9abd7c1c4c4ede3f47a8958d

bluegr noreply at scummvm.org
Sat Nov 9 22:56:00 UTC 2024


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:
700b7b6520 CHEWY: Fix music in harbor during the second visit - bug #13687


Commit: 700b7b6520aa0b7f9abd7c1c4c4ede3f47a8958d
    https://github.com/scummvm/scummvm/commit/700b7b6520aa0b7f9abd7c1c4c4ede3f47a8958d
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-11-10T00:55:31+02:00

Commit Message:
CHEWY: Fix music in harbor during the second visit - bug #13687

Changed paths:
    engines/chewy/sound.cpp


diff --git a/engines/chewy/sound.cpp b/engines/chewy/sound.cpp
index 45ccf2d05ae..aa62602e68a 100644
--- a/engines/chewy/sound.cpp
+++ b/engines/chewy/sound.cpp
@@ -325,8 +325,8 @@ void Sound::playRoomMusic(int16 roomNum) {
 		}
 	}
 	
-	// Room 56 music (first vs second visit)
-	if (roomNum == 56 && _G(gameState).flags32_10 && _G(gameState).flags33_80)
+	// Room 56 (harbor) music - first vs second visit
+	if (roomNum == 56 && _G(gameState).flags32_10 && !_G(gameState).flags33_80)
 		musicIndex = 52;
 
 	if (musicIndex != _curMusic) {




More information about the Scummvm-git-logs mailing list