GFMDL : Another adjustment to fix some version checks.

This commit is contained in:
KillzXGaming 2019-11-12 19:47:13 -05:00
parent 5c65cef106
commit e5ec3bafc1

View file

@ -167,7 +167,7 @@ namespace FirstPlugin
Version = reader.ReadUInt32();
Boundings = reader.ReadSingles(9);
//Temp check for valid bone header size (does not vary sizes, always 26)
//Temp check for valid bone header size
using (reader.TemporarySeek(72, SeekOrigin.Begin))
{
long boneData = reader.ReadOffset(true, typeof(uint));
@ -180,7 +180,7 @@ namespace FirstPlugin
{
reader.SeekBegin(offset);
uint infoOffset = reader.ReadUInt32();
if (infoOffset == 26)
if (infoOffset == 26 || infoOffset == 24)
IsV2 = true;
}
}