diff options
author | Martin Kiewitz | 2015-06-13 21:22:23 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-13 21:22:23 +0200 |
commit | 1e5e7243ffffb279841c5c2b34cfc3079144cf52 (patch) | |
tree | a8e79f4a051c23615345bffc33e0b90c91c5a657 /engines | |
parent | d8e57490a5bf1d37ac579788b22fd1b3c30dc051 (diff) | |
download | scummvm-rg350-1e5e7243ffffb279841c5c2b34cfc3079144cf52.tar.gz scummvm-rg350-1e5e7243ffffb279841c5c2b34cfc3079144cf52.tar.bz2 scummvm-rg350-1e5e7243ffffb279841c5c2b34cfc3079144cf52.zip |
SHERLOCK: 3DO: dialog movie player adjustment
cut scriptname to 6 characters in case it's longer than that
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_talk.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp index 9003eb5d24..4b7a5c6409 100644 --- a/engines/sherlock/scalpel/scalpel_talk.cpp +++ b/engines/sherlock/scalpel/scalpel_talk.cpp @@ -558,6 +558,10 @@ void ScalpelTalk::talk3DOMovieTrigger(int subIndex) { movieFilename = _scriptName; movieFilename.deleteChar(1); // remove 2nd character of scriptname + // cut scriptname to 6 characters + while (movieFilename.size() > 6) { + movieFilename.deleteChar(6); + } movieFilename.insertChar(selector + 'a', movieFilename.size()); movieFilename.insertChar(subIndex + 'a', movieFilename.size()); |