diff --git a/src/r_defs.h b/src/r_defs.h index 6f69a26a01..dd8496e4d9 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -455,6 +455,11 @@ struct secspecial_t short leakydamage; // chance of leaking through radiation suit int Flags; + secspecial_t() + { + Clear(); + } + void Clear() { memset(this, 0, sizeof(*this));