aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-29 23:35:23 +0000
committerFilippos Karapetis2010-08-29 23:35:23 +0000
commit3e6d55aee72743f5224401071f9081f0a06d7fad (patch)
tree7e9ca01f8704d51df2a065f26a37661cee8dd4d4
parente004831576355d689c1e045e84659e7b16b1feb6 (diff)
downloadscummvm-rg350-3e6d55aee72743f5224401071f9081f0a06d7fad.tar.gz
scummvm-rg350-3e6d55aee72743f5224401071f9081f0a06d7fad.tar.bz2
scummvm-rg350-3e6d55aee72743f5224401071f9081f0a06d7fad.zip
SCI: Only show exported characters in the QFG import screens.
QFG can't import saved games, thus there is no point in including them in the character import screens. svn-id: r52448
-rw-r--r--engines/sci/engine/kfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index 48f3691cb5..e335bf1476 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -944,12 +944,12 @@ reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager
int QfGImport = g_sci->inQfGImportRoom();
if (QfGImport) {
_files.clear();
- addAsVirtualFiles("-QfG1-", "qfg1-*");
- addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*");
+ addAsVirtualFiles("-QfG1-", "qfg1-*.sav");
+ addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*.sav");
if (QfGImport > 2)
- addAsVirtualFiles("-QfG2-", "qfg2-*");
+ addAsVirtualFiles("-QfG2-", "qfg2-*.sav");
if (QfGImport > 3)
- addAsVirtualFiles("-QfG3-", "qfg3-*");
+ addAsVirtualFiles("-QfG3-", "qfg3-*.sav");
if (QfGImport == 3) {
// QfG3 sorts the filelisting itself, we can't let that happen otherwise our