From a97f22bfcd614b5f6b74967d840e5c267a6b52a3 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 24 Nov 2009 01:37:54 +0000 Subject: [PATCH] - Scan backwards for classes in FArchive::ReadClass(). SVN r1993 (trunk) --- src/farchive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/farchive.cpp b/src/farchive.cpp index 9497bc50e..6b9ba2790 100644 --- a/src/farchive.cpp +++ b/src/farchive.cpp @@ -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) {