- fixed: DCeiling's main constructor could leave some fields uninitialized.

This commit is contained in:
Christoph Oelckers 2016-10-06 21:20:49 +02:00
parent d7bb5bb41e
commit 99c4d03ad4

View file

@ -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;
}
//============================================================================