aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorTobia Tesan2013-06-04 21:10:11 +0200
committerEinar Johan Trøan Sømåen2013-06-06 23:34:06 +0200
commit4401f40f7203f7aaa78c2e1c904c70902325436c (patch)
treec18bd2962c56deec197a1d1d1f0297f8b3571970 /engines/wintermute
parent4105805505b5083c9be3f846713f0cf67422f957 (diff)
downloadscummvm-rg350-4401f40f7203f7aaa78c2e1c904c70902325436c.tar.gz
scummvm-rg350-4401f40f7203f7aaa78c2e1c904c70902325436c.tar.bz2
scummvm-rg350-4401f40f7203f7aaa78c2e1c904c70902325436c.zip
WINTERMUTE: Prevent warning about duplicate files when autodetecting.
Removed a call to BaseFileManager::registerPackages() in WintermuteEngine::getGameInfo(), as the constructor for BaseFileManager already calls registerPackages() once; another call should thus be superfluous.
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/wintermute.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 89a6f1b3e0..92381742de 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -292,7 +292,6 @@ bool WintermuteEngine::getGameInfo(const Common::FSList &fslist, Common::String
Common::SeekableReadStream *stream = nullptr;
// Quick-fix, instead of possibly breaking the persistence-system, let's just roll with it
BaseFileManager *fileMan = new BaseFileManager(Common::UNK_LANG, true);
- fileMan->registerPackages(fslist);
stream = fileMan->openFile("startup.settings", false, false);
// The process is as follows: Check the "GAME=" tag in startup.settings, to decide where the