mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-26 06:01:14 +00:00
- fixed: DCeiling's main constructor could leave some fields uninitialized.
This commit is contained in:
parent
f89d47d03e
commit
2e78d34046
1 changed files with 6 additions and 0 deletions
|
@ -214,6 +214,12 @@ DCeiling::DCeiling (sector_t *sec, double speed1, double speed2, int silent)
|
|||
m_Speed = m_Speed1 = speed1;
|
||||
m_Speed2 = speed2;
|
||||
m_Silent = silent;
|
||||
m_BottomHeight = 0;
|
||||
m_TopHeight = 0;
|
||||
m_Direction = 0;
|
||||
m_Texture = FNullTextureID();
|
||||
m_Tag = 0;
|
||||
m_OldDirection = 0;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
|
Loading…
Reference in a new issue