AWC audio name hash resolution and sorting

This commit is contained in:
dexy
2020-02-09 07:26:18 +11:00
Unverified
parent cdda4b943e
commit 81c2361013
3 changed files with 93 additions and 21 deletions
+1 -1
View File
@@ -3009,7 +3009,7 @@ namespace CodeWalker.GameFiles
{
name = name.Substring(slidx + 1);
}
var didx = name.LastIndexOf('.');
var didx = name.IndexOf('.');
if ((didx > 0) && (didx < name.Length))
{
name = name.Substring(0, didx);