diff options
author | Paul Gilbert | 2015-04-14 20:30:02 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-04-14 20:30:02 -0500 |
commit | b14debc20769c7c6e8b0d5fb1d189e319e5ad6e4 (patch) | |
tree | 3462a90ff4bf667dfb9df00b00d854615f320ae3 /engines/sherlock | |
parent | f4af9fdbfd4531fd59c9f51785d573f6a128639e (diff) | |
download | scummvm-rg350-b14debc20769c7c6e8b0d5fb1d189e319e5ad6e4.tar.gz scummvm-rg350-b14debc20769c7c6e8b0d5fb1d189e319e5ad6e4.tar.bz2 scummvm-rg350-b14debc20769c7c6e8b0d5fb1d189e319e5ad6e4.zip |
SHERLOCK: Fix talking to Watson when he's sitting down
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 49e0677b80..73bf9b5fb3 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -591,8 +591,8 @@ void Talk::loadTalkFile(const Common::String &filename) { } const char *chP = strchr(filename.c_str(), '.'); - Common::String talkFile = !chP ? filename + ".tlk" : - Common::String(filename.c_str(), chP) + ".tlk"; + Common::String talkFile = chP ? Common::String(filename.c_str(), chP) + ".tlk" : + Common::String(filename.c_str(), filename.c_str() + 7) + ".tlk"; // Open the talk file for reading Common::SeekableReadStream *talkStream = res.load(talkFile); |