mirror of
https://github.com/4sval/FModel.git
synced 2026-09-22 08:24:40 -05:00
fixed infinite loop
This commit is contained in:
@@ -18,10 +18,10 @@ namespace FModel.PakReader.Parsers.Class
|
||||
var header = new FUnversionedHeader(reader);
|
||||
if (header.HasValues)
|
||||
{
|
||||
FUnversionedType unversionedType = reader.GetOrCreateSchema(type);
|
||||
using var it = new FIterator(header);
|
||||
if (header.HasNonZeroValues)
|
||||
{
|
||||
FUnversionedType unversionedType = reader.GetOrCreateSchema(type);
|
||||
var num = 1;
|
||||
do
|
||||
{
|
||||
|
||||
@@ -214,8 +214,8 @@ namespace FModel.PakReader.Parsers
|
||||
|
||||
bNop = !bNested && schema.PropCount == 0;
|
||||
bNested = true;
|
||||
type = schema.SuperType;
|
||||
}
|
||||
type = schema.SuperType;
|
||||
}
|
||||
|
||||
Globals.CachedSchemas[export] = ret;
|
||||
|
||||
Reference in New Issue
Block a user