[Scummvm-cvs-logs] scummvm master -> 3483799959926d130bcabc1da7e424501a6ef173
m-kiewitz
m_kiewitz at users.sourceforge.net
Mon Apr 13 18:27:06 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:
3483799959 SCI: add french qfg3 export filename for fix
Commit: 3483799959926d130bcabc1da7e424501a6ef173
https://github.com/scummvm/scummvm/commit/3483799959926d130bcabc1da7e424501a6ef173
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-04-13T18:26:12+02:00
Commit Message:
SCI: add french qfg3 export filename for fix
Sierra translator translated the filename
Changed paths:
engines/sci/engine/kgraphics.cpp
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index ee2249b..7d24dd8 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -955,8 +955,9 @@ reg_t kDrawControl(EngineState *s, int argc, reg_t *argv) {
reg_t textReference = readSelector(s->_segMan, controlObject, SELECTOR(text));
if (!textReference.isNull()) {
Common::String text = s->_segMan->getString(textReference);
- if ((text == "a:hq1_hero.sav") || (text == "a:glory1.sav") || (text == "a:glory2.sav") || (text == "a:glory3.sav")) {
+ if ((text == "a:hq1_hero.sav") || (text == "a:glory1.sav") || (text == "a:glory2.sav") || (text == "a:glory3.sav") || (text == "a:gloire3.sauv")) {
// Remove "a:" from hero quest / quest for glory export default filenames
+ // The french version of Quest For Glory 3 uses "gloire3.sauv". It seems a translator translated the filename.
text.deleteChar(0);
text.deleteChar(0);
s->_segMan->strcpy(textReference, text.c_str());
More information about the Scummvm-git-logs
mailing list