This commit is contained in:
MihailRis
2024-12-07 00:04:56 +03:00
parent 61b73bfabd
commit 3e01a399f9
8 changed files with 43 additions and 52 deletions
+2 -2
View File
@@ -13,9 +13,9 @@
namespace fs = std::filesystem;
ContentPack ContentPack::createCore(const EnginePaths* paths) {
ContentPack ContentPack::createCore(const EnginePaths& paths) {
return ContentPack {
"core", "Core", ENGINE_VERSION_STRING, "", "", paths->getResourcesFolder(), {}
"core", "Core", ENGINE_VERSION_STRING, "", "", paths.getResourcesFolder(), {}
};
}
+1 -1
View File
@@ -71,7 +71,7 @@ struct ContentPack {
const std::string& name
);
static ContentPack createCore(const EnginePaths*);
static ContentPack createCore(const EnginePaths&);
static inline fs::path getFolderFor(ContentType type) {
switch (type) {