Reordered Listed Initalisation order in src/UI/Window.cpp
Reordered the Listed Initalisation order for CWindow to the executed initalisation order. The compiler initalises values in the order the fields are declared not the initalisations listedmaster
parent
cd7813f0f5
commit
ae369618ca
|
@ -28,9 +28,9 @@ cWindow::cWindow(WindowType a_WindowType, const AString & a_WindowTitle) :
|
|||
m_WindowID((++m_WindowIDCounter) % 127),
|
||||
m_WindowType(a_WindowType),
|
||||
m_WindowTitle(a_WindowTitle),
|
||||
m_Owner(NULL),
|
||||
m_IsDestroyed(false),
|
||||
m_ShouldDistributeToHotbarFirst(true)
|
||||
m_ShouldDistributeToHotbarFirst(true),
|
||||
m_Owner(NULL)
|
||||
{
|
||||
if (a_WindowType == wtInventory)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue