mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-05-30 16:40:58 +00:00
- added proper definitions for all exported native fields.
- synthesize native fields for all declared flags, not just for AActor.
This commit is contained in:
parent
e1c4e4939a
commit
099b9970ef
23 changed files with 452 additions and 246 deletions
|
@ -164,6 +164,11 @@ struct ZCC_TreeNode
|
|||
// Appends a sibling to this node's sibling list.
|
||||
void AppendSibling(ZCC_TreeNode *sibling)
|
||||
{
|
||||
if (this == nullptr)
|
||||
{
|
||||
// Some bad syntax can actually get here, so better abort so that the user can see the error which caused this.
|
||||
I_FatalError("Internal script compiler error. Execution aborted.");
|
||||
}
|
||||
if (sibling == NULL)
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue