summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2017-11-22 19:25:26 +0100
committerparamat <mat.gregory@virginmedia.com>2017-11-24 05:39:47 +0000
commit990d0b0264cae3f05fb0d1353294c94b18faa4c8 (patch)
tree7a65269bbf0a9da9bb2fed83373b357f3f3648a0 /src/server.h
parent912ba1e47f61be18fa01cc91936929168c883f7b (diff)
downloadminetest-990d0b0264cae3f05fb0d1353294c94b18faa4c8.tar.gz
minetest-990d0b0264cae3f05fb0d1353294c94b18faa4c8.tar.bz2
minetest-990d0b0264cae3f05fb0d1353294c94b18faa4c8.zip
Inventory: Restrict access from too far away
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index 86f558d54..ae7511bdf 100644
--- a/src/server.h
+++ b/src/server.h
@@ -464,6 +464,7 @@ private:
void RespawnPlayer(session_t peer_id);
void DeleteClient(session_t peer_id, ClientDeletionReason reason);
void UpdateCrafting(RemotePlayer *player);
+ bool checkInteractDistance(RemotePlayer *player, const f32 d, const std::string what);
void handleChatInterfaceEvent(ChatEvent *evt);