- 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 committed by raa-eruanna
parent f89d47d03e
commit 2e78d34046

View file

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