- return a std::string from GetFileFullPath
This commit is contained in:
parent
25b7b18c3d
commit
8a5d3c096b
11 changed files with 21 additions and 21 deletions
|
|
@ -1001,7 +1001,7 @@ typedef TArray<uint8_t> MemFile;
|
|||
static FString CreateCacheName(MapData *map, bool create)
|
||||
{
|
||||
FString path = M_GetCachePath(create);
|
||||
FString lumpname = fileSystem.GetFileFullPath(map->lumpnum);
|
||||
FString lumpname = fileSystem.GetFileFullPath(map->lumpnum).c_str();
|
||||
auto separator = lumpname.IndexOf(':');
|
||||
path << '/' << lumpname.Left(separator);
|
||||
if (create) CreatePath(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue