diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiFormSpecMenu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 33f88d8c0..ccd9cb753 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -304,6 +304,11 @@ public: regenerateGui(m_screensize_old); } + const InventoryLocation &getFormspecLocation() + { + return m_current_inventory_location; + } + void setFormspecPrepend(const std::string &formspecPrepend) { m_formspec_prepend = formspecPrepend; |