[Scummvm-cvs-logs] scummvm master -> 1e5e7243ffffb279841c5c2b34cfc3079144cf52
m-kiewitz
m_kiewitz at users.sourceforge.net
Sat Jun 13 21:23:33 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1e5e7243ff SHERLOCK: 3DO: dialog movie player adjustment
Commit: 1e5e7243ffffb279841c5c2b34cfc3079144cf52
https://github.com/scummvm/scummvm/commit/1e5e7243ffffb279841c5c2b34cfc3079144cf52
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-13T21:22:23+02:00
Commit Message:
SHERLOCK: 3DO: dialog movie player adjustment
cut scriptname to 6 characters in case it's longer than that
Changed paths:
engines/sherlock/scalpel/scalpel_talk.cpp
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index 9003eb5..4b7a5c6 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());
More information about the Scummvm-git-logs
mailing list