mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Fixed mixins.
This commit is contained in:
parent
2ae3f6d326
commit
583d8faf5c
1 changed files with 7 additions and 2 deletions
|
@ -165,8 +165,13 @@ void ZCCCompiler::ProcessClass(ZCC_Class *cnode, PSymbolTreeNode *treenode)
|
|||
break;
|
||||
}
|
||||
|
||||
origNextNode = node->SiblingNext;
|
||||
node = mixinDef->Body;
|
||||
if (mixinDef->Body != nullptr)
|
||||
{
|
||||
origNextNode = node->SiblingNext;
|
||||
node = mixinDef->Body;
|
||||
|
||||
continue;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue