Fixed global TerrainDef array not being exported correctly

This commit is contained in:
Boondorl 2023-01-20 16:09:20 -05:00 committed by Christoph Oelckers
parent 04fc19c32d
commit f6128f0e9e

View file

@ -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);