mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: secspecial_t was left uninitialized, causing its damage type being an invalid name.
This commit is contained in:
parent
43314f0c0d
commit
e8ee8c5c97
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue