From e8ee8c5c976c3d9cb964f959d0c697af9575ae08 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 18 Jan 2016 01:21:20 +0100 Subject: [PATCH] - fixed: secspecial_t was left uninitialized, causing its damage type being an invalid name. --- src/r_defs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/r_defs.h b/src/r_defs.h index 6f69a26a0..dd8496e4d 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));