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
listed
master
Tycho Bickerstaff 2013-12-07 23:36:50 +00:00
parent cd7813f0f5
commit ae369618ca
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{