aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-10-15 20:56:02 -0400
committerPaul Gilbert2015-10-15 20:56:02 -0400
commitebd080b219300ad0533530bd7f7a0c252bfacbf2 (patch)
tree54f199d3a11ecbbbb9a75dd80e490ac7dda07722
parentf1e2e00621bc35b6afaf394bcc9d32b465e86e2f (diff)
downloadscummvm-rg350-ebd080b219300ad0533530bd7f7a0c252bfacbf2.tar.gz
scummvm-rg350-ebd080b219300ad0533530bd7f7a0c252bfacbf2.tar.bz2
scummvm-rg350-ebd080b219300ad0533530bd7f7a0c252bfacbf2.zip
SHERLOCK: RT: Fix conversation options screwup after viewing journal
-rw-r--r--engines/sherlock/talk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 795c4eb9c7..f324f192d8 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -575,6 +575,7 @@ void Talk::loadTalkFile(const Common::String &filename) {
_converseNum = res.resourceIndex();
talkStream->skip(2); // Skip talk file version num
+ _statements.clear();
_statements.resize(talkStream->readByte());
for (uint idx = 0; idx < _statements.size(); ++idx)
_statements[idx].load(*talkStream, IS_ROSE_TATTOO);