- fixed: secspecial_t was left uninitialized, causing its damage type being an invalid name.

This commit is contained in:
Christoph Oelckers 2016-01-18 01:21:20 +01:00
parent 43314f0c0d
commit e8ee8c5c97
1 changed files with 5 additions and 0 deletions

View File

@ -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));