diff --git a/src/gamedata/r_defs.h b/src/gamedata/r_defs.h index 4c95a0424..6cb8f9e77 100644 --- a/src/gamedata/r_defs.h +++ b/src/gamedata/r_defs.h @@ -522,6 +522,12 @@ struct FLinkedSector { sector_t *Sector; int Type; + + FLinkedSector(sector_t *sector = nullptr, int type = 0) + : Sector(sector) + , Type(type) + { + } };