Skip to content

Commit

Permalink
PRINCE: fixed bug in the conversation with the priest
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Денис Телюх authored and sev- committed Oct 17, 2020
1 parent 18e6878 commit 0e3e70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/prince/sound.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 0e3e70a

Please sign in to comment.