From 4401f40f7203f7aaa78c2e1c904c70902325436c Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Tue, 4 Jun 2013 21:10:11 +0200 Subject: 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. --- engines/wintermute/wintermute.cpp | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3