[Scummvm-cvs-logs] scummvm master -> 39e75d75c6dbc728124ebacfa97937ae6f042e2f

dreammaster dreammaster at scummvm.org
Tue Aug 18 01:15:09 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:
39e75d75c6 SHERLOCK: RT: Properly crop long speech filenames


Commit: 39e75d75c6dbc728124ebacfa97937ae6f042e2f
    https://github.com/scummvm/scummvm/commit/39e75d75c6dbc728124ebacfa97937ae6f042e2f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-17T19:14:35-04:00

Commit Message:
SHERLOCK: RT: Properly crop long speech filenames

Changed paths:
    engines/sherlock/talk.cpp



diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index a2d6d8a..7ecf62c 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -578,7 +578,7 @@ void Talk::loadTalkFile(const Common::String &filename) {
 
 	// Create the base of the sound filename used for talking in Rose Tattoo
 	if (IS_ROSE_TATTOO && _scriptMoreFlag != 1)
-		sound._talkSoundFile = filename + ".";
+		sound._talkSoundFile = Common::String(filename.c_str(), filename.c_str() + 7) + ".";
 
 	// Open the talk file for reading
 	Common::SeekableReadStream *talkStream = res.load(talkFile);






More information about the Scummvm-git-logs mailing list