Skip to content

Commit e8ae1c0

Browse files
committed
Updated pak file fix (see previous commit for details)
1 parent a2c578d commit e8ae1c0

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

Unreal/FileSystem/UnArchivePak.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ bool FPakVFS::LoadPakIndex(FArchive* reader, const FPakInfo& info, FString& erro
954954
DirectoryPath += DirectoryName;
955955
CompactFilePath(DirectoryPath);
956956
// Remove any trailing slashes. Note that MountPoint may be empty (consisting just of '/'), so let's use a loop.
957-
while (DirectoryPath.EndsWith("//"))
957+
while (DirectoryPath[DirectoryPath.Len()-1] == '/')
958958
DirectoryPath.RemoveAt(DirectoryPath.Len()-1);
959959

960960
// Read size of FPakDirectory (DirectoryIndex::Value)

umodel

0 Bytes
Binary file not shown.

umodel.exe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)