Fixed a regression that caused some speech in cutscenes to not be played.

svn-id: r49037
This commit is contained in:
Torbjörn Andersson 2010-05-15 08:54:58 +00:00
parent 2da9fa5a6e
commit 83a25d2e37
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -9,6 +9,10 @@ For a more comprehensive changelog for the latest experimental SVN code, see:
General:
- Switched to the "fast" DOSBox OPL emulator.
1.1.2 (????-??-??)
Broken Sword 2
- Fixed missing speech in some cutscenes.
1.1.1 (2010-05-02)
New Ports:
- Added Nintendo 64 Port. (Actually added in 1.1.0, but forgot to mention it. oops)

View File

@ -259,7 +259,7 @@ void MoviePlayer::performPostProcessing(byte *screen) {
text->_played = true;
_vm->_sound->playCompSpeech(text->_speechId, 16, 0);
}
if (frame <= text->_endFrame) {
if (frame < text->_endFrame) {
drawTextObject(_currentMovieText, screen);
} else {
closeTextObject(_currentMovieText, screen);