mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Simple circular reference detection fix
This commit is contained in:
parent
345746d34d
commit
f9b4526934
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ bool BfModule::CheckCircularDataError()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((checkTypeState->mType == mCurTypeInstance) && (checkIdx > 0))
|
if ((checkTypeState->mType == mCurTypeInstance) && (checkIdx > 1))
|
||||||
{
|
{
|
||||||
if (circularTypeStateEnd == NULL)
|
if (circularTypeStateEnd == NULL)
|
||||||
circularTypeStateEnd = checkTypeState;
|
circularTypeStateEnd = checkTypeState;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue