[Scummvm-git-logs] scummvm master -> 05c1147287c9e424b1ece4a9a20f9c54ae627eae

athrxx noreply at scummvm.org
Sun Mar 12 21:44:32 UTC 2023


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:
05c1147287 KYRA: (LOL) - fix bug no. 14323


Commit: 05c1147287c9e424b1ece4a9a20f9c54ae627eae
    https://github.com/scummvm/scummvm/commit/05c1147287c9e424b1ece4a9a20f9c54ae627eae
Author: athrxx (athrxx at scummvm.org)
Date: 2023-03-12T22:43:36+01:00

Commit Message:
KYRA: (LOL) - fix bug no. 14323

This isn't a real bug, since it will be triggered only when deleting
game data files which aren't meant to be deleted. Still, it is easy
enough to work around this...

Changed paths:
    engines/kyra/sound/sound_pc_midi.cpp


diff --git a/engines/kyra/sound/sound_pc_midi.cpp b/engines/kyra/sound/sound_pc_midi.cpp
index 4967963a449..1a655af8365 100644
--- a/engines/kyra/sound/sound_pc_midi.cpp
+++ b/engines/kyra/sound/sound_pc_midi.cpp
@@ -149,7 +149,7 @@ bool SoundMidiPC::init() {
 				}
 			} else {
 				if (_vm->gameFlags().isTalkie)
-					pakFile = "ENG/STARTUP.PAK";
+					pakFile =  (_vm->_flags.lang == Common::FR_FRA) ? "FRE/STARTUP.PAK" : (_vm->_flags.lang == Common::DE_DEU ? "GER/STARTUP.PAK" : "ENG/STARTUP.PAK");
 				else
 					pakFile = "INTROVOC.PAK";
 			}




More information about the Scummvm-git-logs mailing list