aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-19 14:09:16 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-19 14:09:16 +0300
commit16ad10e62f4dcf620f9a962b07aa39f1c561f8dc (patch)
treef82e70e1d3d1c54b179ef4b3bc4b06bd702316dc /src/player.h
parent02fb912a955c9e5baa86ecd4206eefaa88f3e60a (diff)
downloadminetest-16ad10e62f4dcf620f9a962b07aa39f1c561f8dc.tar.gz
minetest-16ad10e62f4dcf620f9a962b07aa39f1c561f8dc.tar.bz2
minetest-16ad10e62f4dcf620f9a962b07aa39f1c561f8dc.zip
Allow defining player's inventory form in Lua
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index c3ccc960d..352b93e88 100644
--- a/src/player.h
+++ b/src/player.h
@@ -157,6 +157,8 @@ public:
u16 peer_id;
+ std::string inventory_formspec;
+
protected:
IGameDef *m_gamedef;