aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-13 20:14:42 +0000
committerMartin Kiewitz2010-07-13 20:14:42 +0000
commita18825519677cc783cab9cebc798797d30bb153c (patch)
treee31cd16d294facdebf766e3a186496fc6f063d66 /engines
parent19d4374cbd5c8c7dc6b6b8d59463460fb464ae47 (diff)
downloadscummvm-rg350-a18825519677cc783cab9cebc798797d30bb153c.tar.gz
scummvm-rg350-a18825519677cc783cab9cebc798797d30bb153c.tar.bz2
scummvm-rg350-a18825519677cc783cab9cebc798797d30bb153c.zip
SCI: adding quest for glory 1 export save filename ("a:glory1.sav") for filename fixing
svn-id: r50851
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 29f7565ef9..0476d31f20 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -889,8 +889,8 @@ 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") {
- // Remove "a:" from hero quest export default filename
+ if ((text == "a:hq1_hero.sav") || (text == "a:glory1.sav")) {
+ // Remove "a:" from hero quest / quest for glory 1 export default filename
text.deleteChar(0);
text.deleteChar(0);
s->_segMan->strcpy(textReference, text.c_str());