diff options
Diffstat (limited to 'engines/wintermute/base/base_file_manager.cpp')
-rw-r--r-- | engines/wintermute/base/base_file_manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp index da49f188c1..772af11c13 100644 --- a/engines/wintermute/base/base_file_manager.cpp +++ b/engines/wintermute/base/base_file_manager.cpp @@ -439,12 +439,11 @@ Common::File *BaseFileManager::openPackage(const Common::String &name) { return ret;
}
}
-
-/* sprintf(filename, "%s.%s", name.c_str(), PACKAGE_EXTENSION);
+ Common::String filename = Common::String::format("%s.%s", name.c_str(), PACKAGE_EXTENSION);
ret->open(filename);
if (ret->isOpen()) {
return ret;
- }*/
+ }
warning("BaseFileManager::OpenPackage - Couldn't load file %s", name.c_str());
delete ret;
return NULL;
|