aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-13 20:28:17 +0000
committerMartin Kiewitz2010-07-13 20:28:17 +0000
commit946d69cc5e4877e561fb15069297c187cfa145d4 (patch)
treea10d52e3674205d2b4e208fa90d00eefcc2124f4 /engines/sci/engine
parenta18825519677cc783cab9cebc798797d30bb153c (diff)
downloadscummvm-rg350-946d69cc5e4877e561fb15069297c187cfa145d4.tar.gz
scummvm-rg350-946d69cc5e4877e561fb15069297c187cfa145d4.tar.bz2
scummvm-rg350-946d69cc5e4877e561fb15069297c187cfa145d4.zip
SCI: adding quest for glory 2&3 export save filenames (same types and object names as qfg1)
svn-id: r50853
Diffstat (limited to 'engines/sci/engine')
-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 0476d31f20..5f258f604b 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") || (text == "a:glory1.sav")) {
- // Remove "a:" from hero quest / quest for glory 1 export default filename
+ if ((text == "a:hq1_hero.sav") || (text == "a:glory1.sav") || (text == "a:glory2.sav") || (text == "a:glory3.sav")) {
+ // Remove "a:" from hero quest / quest for glory export default filenames
text.deleteChar(0);
text.deleteChar(0);
s->_segMan->strcpy(textReference, text.c_str());