aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-23 00:40:38 +0200
committerEinar Johan Trøan Sømåen2012-07-23 00:40:38 +0200
commit61e011ada98f780d28bbea53f3c702f2bb3ed2bd (patch)
tree433ed84a4ef6cc0cb35ee4a5498b416f2c441fad /engines/wintermute
parent8b6e4fc7527eb5c56755c068d8c5b75951298fe5 (diff)
downloadscummvm-rg350-61e011ada98f780d28bbea53f3c702f2bb3ed2bd.tar.gz
scummvm-rg350-61e011ada98f780d28bbea53f3c702f2bb3ed2bd.tar.bz2
scummvm-rg350-61e011ada98f780d28bbea53f3c702f2bb3ed2bd.zip
WINTERMUTE: Reenable direct package-loading for now
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/base/base_file_manager.cpp5
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;