Fixes loading of db2 with LocalizedStrings

This commit is contained in:
hondacrx
2019-11-07 18:17:34 -05:00
parent f6606dfd48
commit 797504611e
2 changed files with 3 additions and 3 deletions
@@ -537,7 +537,7 @@ namespace Game.DataStorage
}
else
{
var pos = _recordsOffset + _data.Offset + (_data.Position >> 3);
var pos = _recordsOffset + (_data.Position >> 3);
int ofs = GetFieldValue<int>(fieldIndex);
localized[LocaleConstant.enUS] = _stringsTable.LookupByKey(pos + ofs);
}
+1 -1
View File
@@ -81,7 +81,7 @@ namespace Game.DataStorage
public ushort UwZoneMusic;
public byte ExplorationLevel;
public ushort IntroSound;
public byte UwIntroSound;
public uint UwIntroSound;
public byte FactionGroupMask;
public float AmbientMultiplier;
public byte MountFlags;