mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: DCeiling's main constructor could leave some fields uninitialized.
This commit is contained in:
parent
d7bb5bb41e
commit
99c4d03ad4
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_Speed = m_Speed1 = speed1;
|
||||||
m_Speed2 = speed2;
|
m_Speed2 = speed2;
|
||||||
m_Silent = silent;
|
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