mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed name generation for cached nodes to not contain any ':'. A colon inside a file name will cause Windows to write the data to an alternate data stream.
This commit is contained in:
parent
e06f87cf10
commit
cd2a349c36
1 changed files with 1 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ static FString CreateCacheName(MapData *map, bool create)
|
|||
if (create) CreatePath(path);
|
||||
|
||||
lumpname.ReplaceChars('/', '%');
|
||||
lumpname.ReplaceChars(':', '$');
|
||||
path << '/' << lumpname.Right(lumpname.Len() - separator - 1) << ".gzc";
|
||||
return path;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue