]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/gui/guiFormSpecMenu.h
Merge pull request #1 from EliasFleckenstein03/master
[dragonfireclient.git] / src / gui / guiFormSpecMenu.h
index d658aba7bfa94a25d7dfa6810b406e21284815a4..926de66d54dc1ed97ae24b6024cf6e5995a1f972 100644 (file)
@@ -152,6 +152,7 @@ class GUIFormSpecMenu : public GUIModalMenu
                        gui::IGUIElement* parent, s32 id,
                        IMenuManager *menumgr,
                        Client *client,
+                       gui::IGUIEnvironment *guienv,
                        ISimpleTextureSource *tsrc,
                        ISoundManager *sound_manager,
                        IFormSource* fs_src,
@@ -162,8 +163,9 @@ class GUIFormSpecMenu : public GUIModalMenu
        ~GUIFormSpecMenu();
 
        static void create(GUIFormSpecMenu *&cur_formspec, Client *client,
-               JoystickController *joystick, IFormSource *fs_src, TextDest *txt_dest,
-               const std::string &formspecPrepend, ISoundManager *sound_manager);
+               gui::IGUIEnvironment *guienv, JoystickController *joystick, IFormSource *fs_src,
+               TextDest *txt_dest, const std::string &formspecPrepend,
+               ISoundManager *sound_manager);
 
        void setFormSpec(const std::string &formspec_string,
                        const InventoryLocation &current_inventory_location)