From 06d250737174dc26ca1f80c1a214ddfa95666582 Mon Sep 17 00:00:00 2001 From: Henning Koehler Date: Sun, 27 Aug 2017 12:59:09 +1200 Subject: [PATCH] log file loading --- config/skills.json | 6 +++--- lib/filesystem/CFilesystemLoader.cpp | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/skills.json b/config/skills.json index 10ebbcce7..bffb5e4a1 100644 --- a/config/skills.json +++ b/config/skills.json @@ -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", diff --git a/lib/filesystem/CFilesystemLoader.cpp b/lib/filesystem/CFilesystemLoader.cpp index 77d63cc59..78b82b38c 100644 --- a/lib/filesystem/CFilesystemLoader.cpp +++ b/lib/filesystem/CFilesystemLoader.cpp @@ -26,8 +26,9 @@ CFilesystemLoader::CFilesystemLoader(std::string _mountPoint, bfs::path baseDire std::unique_ptr CFilesystemLoader::load(const ResourceID & resourceName) const { assert(fileList.count(resourceName)); - - return make_unique(baseDirectory / fileList.at(resourceName)); + boost::filesystem::path file = baseDirectory / fileList.at(resourceName); + logGlobal->trace("loading %s", file.string()); + return make_unique(file); } bool CFilesystemLoader::existsResource(const ResourceID & resourceName) const