File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -55,26 +55,13 @@ class CAPKResourcesArchive : public IFileArchive
55
55
if (std::filesystem::path (p).extension () == " " && std::filesystem::path (p) != " " )
56
56
{
57
57
std::vector<std::string> recRes;
58
- if (std::string (asset_path) == " " )
59
- {
60
- recRes = listAssetsRecursively (std::filesystem::path (p).string ().c_str ());
61
- }
62
- else
63
- {
64
- recRes = listAssetsRecursively ((std::filesystem::path (asset_path) / p).string ().c_str ());
65
- }
58
+
59
+ recRes = listAssetsRecursively (std::filesystem::path (p).string ().c_str ());
66
60
res.insert (res.end (), recRes.begin (), recRes.end ());
67
61
}
68
62
else
69
63
{
70
- if (std::string (asset_path) == " " )
71
- {
72
- res.push_back (p);
73
- }
74
- else
75
- {
76
- res.push_back ((std::filesystem::path (asset_path) / p));
77
- }
64
+ res.push_back (p);
78
65
}
79
66
}
80
67
res.insert (res.end (), curDirFiles.begin (), curDirFiles.end ());
You can’t perform that action at this time.
0 commit comments