Initialize variables properly

This commit is contained in:
Ian McInerney 2021-01-18 18:34:19 +00:00
parent d030d1667b
commit 44655b98de
3 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,7 @@ void VC_SETTINGS::Reset()
m_scrollModifierZoom = 0;
m_scrollModifierPanH = WXK_CONTROL;
m_scrollModifierPanV = WXK_SHIFT;
m_dragLeft = MOUSE_DRAG_ACTION::NONE;
m_dragMiddle = MOUSE_DRAG_ACTION::PAN;
m_dragRight = MOUSE_DRAG_ACTION::PAN;
m_lastKeyboardCursorPositionValid = false;

View File

@ -266,6 +266,7 @@ class CONTEXT
{
public:
CONTEXT() :
m_stack(),
m_stackPtr( 0 )
{
m_ownedValues.reserve( 20 );

View File

@ -66,6 +66,7 @@ public:
m_pos = aSolid.m_pos;
m_padToDie = aSolid.m_padToDie;
m_orientation = aSolid.m_orientation;
}
static inline bool ClassOf( const ITEM* aItem )