mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
log file loading
This commit is contained in:
parent
fc77c40a82
commit
06d2507371
@ -371,7 +371,7 @@
|
||||
},
|
||||
"estates" : {
|
||||
"basic" : {
|
||||
"description" : "",
|
||||
"description" : "With Basic Estates, a hero contributes 125 gold per day to your cause.",
|
||||
"effects" : [
|
||||
{
|
||||
"subtype" : "skill.estates",
|
||||
@ -382,7 +382,7 @@
|
||||
]
|
||||
},
|
||||
"advanced" : {
|
||||
"description" : "",
|
||||
"description" : "With Advanced Estates, a hero contributes 250 gold per day to your cause.",
|
||||
"effects" : [
|
||||
{
|
||||
"subtype" : "skill.estates",
|
||||
@ -393,7 +393,7 @@
|
||||
]
|
||||
},
|
||||
"expert" : {
|
||||
"description" : "",
|
||||
"description" : "With Expert Estates, a hero contributes 500 gold per day to your cause.",
|
||||
"effects" : [
|
||||
{
|
||||
"subtype" : "skill.estates",
|
||||
|
@ -26,8 +26,9 @@ CFilesystemLoader::CFilesystemLoader(std::string _mountPoint, bfs::path baseDire
|
||||
std::unique_ptr<CInputStream> CFilesystemLoader::load(const ResourceID & resourceName) const
|
||||
{
|
||||
assert(fileList.count(resourceName));
|
||||
|
||||
return make_unique<CFileInputStream>(baseDirectory / fileList.at(resourceName));
|
||||
boost::filesystem::path file = baseDirectory / fileList.at(resourceName);
|
||||
logGlobal->trace("loading %s", file.string());
|
||||
return make_unique<CFileInputStream>(file);
|
||||
}
|
||||
|
||||
bool CFilesystemLoader::existsResource(const ResourceID & resourceName) const
|
||||
|
Loading…
Reference in New Issue
Block a user