diff options
author | Alyssa Milburn | 2011-02-20 13:43:35 +0100 |
---|---|---|
committer | Alyssa Milburn | 2011-02-20 13:46:12 +0100 |
commit | 42ec234a1f32724cc713bd045cdb96d871c7d2c0 (patch) | |
tree | 324640f78cc1558b2bb17639204028915849ef29 /engines/mohawk | |
parent | 00f85fb58056fef0eb9e6993990393ee1a195b9b (diff) | |
download | scummvm-rg350-42ec234a1f32724cc713bd045cdb96d871c7d2c0.tar.gz scummvm-rg350-42ec234a1f32724cc713bd045cdb96d871c7d2c0.tar.bz2 scummvm-rg350-42ec234a1f32724cc713bd045cdb96d871c7d2c0.zip |
MOHAWK: Make LBLiveTextItem call done() when finished.
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index c2f42b659d..e4d51c3a02 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -3284,8 +3284,10 @@ void LBLiveTextItem::notify(uint16 data, uint16 from) { } _currentPhrase = i; // TODO: not sure this is the correct logic - if (i == _phrases.size() - 1) + if (i == _phrases.size() - 1) { _currentPhrase = 0xFFFF; + done(true); + } } else if (_phrases[i].highlightEnd == data && _phrases[i].endId == from) { debug(2, "Disabling phrase %d", i); for (uint j = 0; j < _phrases[i].wordCount; j++) { |