diff --git a/src/p_sectors.cpp b/src/p_sectors.cpp index 83adc438f0..8ee5c280be 100644 --- a/src/p_sectors.cpp +++ b/src/p_sectors.cpp @@ -878,6 +878,7 @@ FArchive &operator<< (FArchive &arc, secspecial_t &p) int special; arc << special; sector_t sec; + memset(&sec, 0, sizeof(sec)); P_InitSectorSpecial(&sec, special, true); sec.GetSpecial(&p); }