Skip to content

Commit

Permalink
Fixed global TerrainDef array not being exported correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Boondorl authored and coelckers committed Jan 20, 2023
1 parent 04fc19c commit f6128f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripting/thingdef_data.cpp
Expand Up @@ -724,6 +724,10 @@ void InitThingdef()
teamstruct->Size = sizeof(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->Size = sizeof(player_t);
pstruct->Align = alignof(player_t);
Expand Down

0 comments on commit f6128f0

Please sign in to comment.