- 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
|
|
@ -3137,7 +3137,7 @@ bool P_IsPlayerTotallyFrozen(const player_t *player)
|
|||
|
||||
void P_InitPlayerForScript()
|
||||
{
|
||||
PStruct *pstruct = NewStruct("Player", nullptr);
|
||||
PStruct *pstruct = NewNativeStruct("Player", nullptr);
|
||||
pstruct->Size = sizeof(player_t);
|
||||
pstruct->Align = alignof(player_t);
|
||||
PArray *parray = NewArray(pstruct, MAXPLAYERS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue