summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-10 18:31:44 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-08-11 15:22:36 +0200
commit91d1186cbb0e651de919e17e6808c75c20a0ef6f (patch)
tree3db6e789a39978a825c1cacc1061869d967dcaa3 /src/client.h
parent467b3cf4c10b5078371af0a3b5ae951017f35020 (diff)
downloadminetest-91d1186cbb0e651de919e17e6808c75c20a0ef6f.tar.gz
minetest-91d1186cbb0e651de919e17e6808c75c20a0ef6f.tar.bz2
minetest-91d1186cbb0e651de919e17e6808c75c20a0ef6f.zip
Keep track of player item
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 1c71b2c2c..d21764f75 100644
--- a/src/client.h
+++ b/src/client.h
@@ -211,7 +211,9 @@ public:
v3f getPlayerPosition(v3f *eye_position=NULL);
void setPlayerControl(PlayerControl &control);
-
+
+ void selectPlayerItem(u16 item);
+
// Returns true if the inventory of the local player has been
// updated from the server. If it is true, it is set to false.
bool getLocalInventoryUpdated();