- made all internal struct types NativeStructs so that all variables of their types are made references.
This commit is contained in:
parent
360436c201
commit
6cc00e79a6
7 changed files with 27 additions and 6 deletions
|
|
@ -1858,7 +1858,7 @@ void FLevelLocals::AddScroller (int secnum)
|
|||
|
||||
void G_InitLevelLocalsForScript()
|
||||
{
|
||||
PStruct *lstruct = NewStruct("LevelLocals", nullptr);
|
||||
PStruct *lstruct = NewNativeStruct("LevelLocals", nullptr);
|
||||
PField *levelf = new PField("level", lstruct, VARF_Native | VARF_Static, (intptr_t)&level);
|
||||
GlobalSymbols.AddSymbol(levelf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue