mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
Fixed global TerrainDef array not being exported correctly
This commit is contained in:
parent
04fc19c32d
commit
f6128f0e9e
1 changed files with 4 additions and 0 deletions
|
@ -724,6 +724,10 @@ void InitThingdef()
|
||||||
teamstruct->Size = sizeof(FTeam);
|
teamstruct->Size = sizeof(FTeam);
|
||||||
teamstruct->Align = alignof(FTeam);
|
teamstruct->Align = alignof(FTeam);
|
||||||
|
|
||||||
|
auto terraindefstruct = NewStruct("TerrainDef", nullptr, true);
|
||||||
|
terraindefstruct->Size = sizeof(FTerrainDef);
|
||||||
|
terraindefstruct->Align = alignof(FTerrainDef);
|
||||||
|
|
||||||
PStruct *pstruct = NewStruct("PlayerInfo", nullptr, true);
|
PStruct *pstruct = NewStruct("PlayerInfo", nullptr, true);
|
||||||
pstruct->Size = sizeof(player_t);
|
pstruct->Size = sizeof(player_t);
|
||||||
pstruct->Align = alignof(player_t);
|
pstruct->Align = alignof(player_t);
|
||||||
|
|
Loading…
Reference in a new issue