aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h
index 15bc628d1..583cad4a2 100644
--- a/src/guiFormSpecMenu.h
+++ b/src/guiFormSpecMenu.h
@@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class IGameDef;
class InventoryManager;
class ISimpleTextureSource;
+class Client;
typedef enum {
f_Button,
@@ -209,7 +210,8 @@ public:
ISimpleTextureSource *tsrc,
IFormSource* fs_src,
TextDest* txt_dst,
- GUIFormSpecMenu** ext_ptr
+ GUIFormSpecMenu** ext_ptr,
+ Client* client
);
~GUIFormSpecMenu();
@@ -294,6 +296,7 @@ protected:
InventoryManager *m_invmgr;
IGameDef *m_gamedef;
ISimpleTextureSource *m_tsrc;
+ Client *m_client;
std::string m_formspec_string;
InventoryLocation m_current_inventory_location;