mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +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