How can i initialize a CBoolProperty?
Declaration:
CBoolProperty m_bHeight;
Method:
void CHuman::SetHeight(bool bHeight) { m_bHeight.Value(bHeight); }
but when i debug. m_bHeight.Value is always true until i set bHeight with false. I want to initialize it to false.
Declaration:
CBoolProperty m_bHeight;
Method:
void CHuman::SetHeight(bool bHeight) { m_bHeight.Value(bHeight); }
but when i debug. m_bHeight.Value is always true until i set bHeight with false. I want to initialize it to false.