Integrated Brede Johansen's updates to flt loader.

This commit is contained in:
Robert Osfield
2001-12-04 16:03:10 +00:00
parent 3e940e0b33
commit d7ded2d90f
30 changed files with 1646 additions and 862 deletions

View File

@@ -36,12 +36,8 @@ void ExternalRecord::endian()
{
SExternalReference *pSExternal = (SExternalReference*)getData();
if (getSize() >= sizeof(SExternalReference))
if (getFlightVersion() > 13)
{
ENDIAN( pSExternal->diFlags );
}
else
{
pSExternal->diFlags = 0;
ENDIAN( pSExternal->dwFlags );
}
}