[Scummvm-git-logs] scummvm master -> 0e3e70a4a44900132ed931e7d47721bb20b64dd6
sev-
sev at scummvm.org
Sat Oct 17 23:49:02 UTC 2020
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:
0e3e70a4a4 PRINCE: fixed bug in the conversation with the priest
Commit: 0e3e70a4a44900132ed931e7d47721bb20b64dd6
https://github.com/scummvm/scummvm/commit/0e3e70a4a44900132ed931e7d47721bb20b64dd6
Author: ÐÐµÐ½Ð¸Ñ Ð¢ÐµÐ»ÑÑ
(iliotropion2006 at ya.ru)
Date: 2020-10-18T01:48:58+02:00
Commit Message:
PRINCE: fixed bug in the conversation with the priest
BUG: https://bugs.scummvm.org/ticket/11771
This conversation have no audio files, because it is performed using gestures. So it shouldn't try to load audio.
Changed paths:
engines/prince/sound.cpp
diff --git a/engines/prince/sound.cpp b/engines/prince/sound.cpp
index 60fa521238..a4880f793f 100644
--- a/engines/prince/sound.cpp
+++ b/engines/prince/sound.cpp
@@ -157,7 +157,7 @@ void PrinceEngine::setVoice(uint16 slot, uint32 sampleSlot, uint16 flag) {
sampleName = Common::String::format("inv%02d-01.WAV", currentString - 70000);
} else if (currentString >= 60000) {
sampleName = Common::String::format("M%04d-%02d.WAV", currentString - 60000, flag);
- } else if (currentString >= 2000) {
+ } else if (currentString == 316 || currentString >= 2000) {
return;
} else if (flag >= 100) {
sampleName = Common::String::format("%03d-%03d.WAV", currentString, flag);
More information about the Scummvm-git-logs
mailing list