diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-10 18:31:44 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-11 15:22:36 +0200 |
commit | 91d1186cbb0e651de919e17e6808c75c20a0ef6f (patch) | |
tree | 3db6e789a39978a825c1cacc1061869d967dcaa3 /src/client.h | |
parent | 467b3cf4c10b5078371af0a3b5ae951017f35020 (diff) | |
download | minetest-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.h | 4 |
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(); |