Fix GCC reorder warning
authorShadowNinja <shadowninja@minetest.net>
Sun, 21 Sep 2014 19:18:43 +0000 (15:18 -0400)
committerShadowNinja <shadowninja@minetest.net>
Sun, 21 Sep 2014 19:23:36 +0000 (15:23 -0400)
Caused by a020d1b653f94fbcaac06c15f9dbab4521fda355.

src/guiFormSpecMenu.cpp

index 65dbc0187a84a427d514cf5d97abdb4975d8e63b..1c8b63299bba811892eb37a73f3eaca37d5946a2 100644 (file)
@@ -78,6 +78,7 @@ GUIFormSpecMenu::GUIFormSpecMenu(irr::IrrlichtDevice* dev,
        m_invmgr(invmgr),
        m_gamedef(gamedef),
        m_tsrc(tsrc),
+       m_client(client),
        m_selected_item(NULL),
        m_selected_amount(0),
        m_selected_dragging(false),
@@ -89,8 +90,7 @@ GUIFormSpecMenu::GUIFormSpecMenu(irr::IrrlichtDevice* dev,
        m_text_dst(tdst),
        m_ext_ptr(ext_ptr),
        m_font(dev->getGUIEnvironment()->getSkin()->getFont()),
-       m_formspec_version(0),
-       m_client(client)
+       m_formspec_version(0)
 #ifdef __ANDROID__
        ,m_JavaDialogFieldName(L"")
 #endif