mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
VpkLib: fix bug in dir tree file name sanitizer
The sanitizer never worked as we never replaced the corresponding string.
This commit is contained in:
parent
11fd516b50
commit
0dc4b1d697
@ -900,7 +900,7 @@ VPKDir_t::VPKDir_t(const CUtlString& dirFilePath, bool bSanitizeName)
|
||||
if (sanitizedName.Find(targetName) != -1)
|
||||
{
|
||||
packDirPrefix.Append(targetName);
|
||||
packDirPrefix = packDirPrefix.Replace(targetName, packDirPrefix);
|
||||
sanitizedName = sanitizedName.Replace(targetName, packDirPrefix);
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user