diff options
author | Walter van Niftrik | 2009-05-11 10:56:59 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-05-11 10:56:59 +0000 |
commit | 45ceef870abc84451b275b852bfe137d8cff78f3 (patch) | |
tree | 397ad76282a8245a930e0241d1e9239bf256b8d9 | |
parent | 911556a824291b9838b7b5f1cd8c6f9624c2bcc2 (diff) | |
download | scummvm-rg350-45ceef870abc84451b275b852bfe137d8cff78f3.tar.gz scummvm-rg350-45ceef870abc84451b275b852bfe137d8cff78f3.tar.bz2 scummvm-rg350-45ceef870abc84451b275b852bfe137d8cff78f3.zip |
SCI: Message: Fixed a bug when game requests message with seq != 1.
svn-id: r40450
-rw-r--r-- | engines/sci/engine/message.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp index fd924891a4..e838c05506 100644 --- a/engines/sci/engine/message.cpp +++ b/engines/sci/engine/message.cpp @@ -51,6 +51,7 @@ int MessageState::getMessage(MessageTuple *t) { MessageTuple looking_at; initIndexRecordCursor(); + _lastMessage.seq = t->seq - 1; while (_engineCursor.index != _recordCount) { parse(&_engineCursor, &looking_at); |