- Scan backwards for classes in FArchive::ReadClass().

SVN r1993 (trunk)
This commit is contained in:
Randy Heit 2009-11-24 01:37:54 +00:00
parent 9357ed82ed
commit a97f22bfcd

View file

@ -1395,7 +1395,7 @@ const PClass *FArchive::ReadClass ()
FName zaname(typeName.val, true);
if (zaname != NAME_None)
{
for (unsigned int i = 0; i < PClass::m_Types.Size(); i++)
for (unsigned int i = PClass::m_Types.Size(); i-- > 0; )
{
if (PClass::m_Types[i]->TypeName == zaname)
{