mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Scan backwards for classes in FArchive::ReadClass().
SVN r1993 (trunk)
This commit is contained in:
parent
9357ed82ed
commit
a97f22bfcd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue