fix initialization of CUIEx::m_MouseSlow

This commit is contained in:
Robert Müller 2021-11-29 15:43:16 +01:00
parent e7fafc5a4f
commit 083c29f191
2 changed files with 2 additions and 5 deletions

View file

@ -13,10 +13,8 @@
#include <limits>
CUIEx::CUIEx(CUI *pUI, IKernel *pKernel, CRenderTools *pRenderTools, IInput::CEvent *pInputEventsArray, int *pInputEventCount)
CUIEx::CUIEx()
{
Init(pUI, pKernel, pRenderTools, pInputEventsArray, pInputEventCount);
m_MouseSlow = false;
}

View file

@ -48,8 +48,7 @@ protected:
CRenderTools *RenderTools() const { return m_pRenderTools; }
public:
CUIEx(CUI *pUI, IKernel *pKernel, CRenderTools *pRenderTools, IInput::CEvent *pInputEventsArray, int *pInputEventCount);
CUIEx() {}
CUIEx();
void Init(CUI *pUI, IKernel *pKernel, CRenderTools *pRenderTools, IInput::CEvent *pInputEventsArray, int *pInputEventCount);