summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAlex Ford <gordion42@gmail.com>2015-11-18 12:26:09 -0700
committerparamat <mat.gregory@virginmedia.com>2015-12-02 02:18:44 +0000
commit97908cc65670d3f6cf2e286390bfea10f653aaa8 (patch)
tree49c1b4bb175990d7402590a78a9edd8bb804e6bc /src/client.cpp
parent57b429574ef92c62d202955535896b36845b88db (diff)
downloadminetest-97908cc65670d3f6cf2e286390bfea10f653aaa8.tar.gz
minetest-97908cc65670d3f6cf2e286390bfea10f653aaa8.tar.bz2
minetest-97908cc65670d3f6cf2e286390bfea10f653aaa8.zip
Add on_secondary_use when right clicking an item in the air
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5c04632d1..8e49ee3ba 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -946,6 +946,7 @@ void Client::interact(u8 action, const PointedThing& pointed)
2: digging completed
3: place block or item (to abovesurface)
4: use item
+ 5: perform secondary action of item
*/
NetworkPacket pkt(TOSERVER_INTERACT, 1 + 2 + 0);