Modernize client code (#6250)
[oweals/minetest.git] / src / guiFormSpecMenu.h
index 66b9b019a9d234dd624a578f78bd4137100495bc..6d015e5c4530578ba846f807f502be6df709a991 100644 (file)
@@ -287,8 +287,7 @@ class GUIFormSpecMenu : public GUIModalMenu
        };
 
 public:
-       GUIFormSpecMenu(irr::IrrlichtDevice* dev,
-                       JoystickController *joystick,
+       GUIFormSpecMenu(JoystickController *joystick,
                        gui::IGUIElement* parent, s32 id,
                        IMenuManager *menumgr,
                        Client *client,
@@ -378,7 +377,6 @@ protected:
        v2s32 pos_offset;
        std::stack<v2s32> container_stack;
 
-       irr::IrrlichtDevice* m_device;
        InventoryManager *m_invmgr;
        ISimpleTextureSource *m_tsrc;
        Client *m_client;
@@ -386,7 +384,6 @@ protected:
        std::string m_formspec_string;
        InventoryLocation m_current_inventory_location;
 
-
        std::vector<ListDrawSpec> m_inventorylists;
        std::vector<ListRingSpec> m_inventory_rings;
        std::vector<ImageDrawSpec> m_backgrounds;