summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-08-06 03:57:34 +0100
committerparamat <mat.gregory@virginmedia.com>2017-08-09 11:06:22 +0100
commit3d0e8a691ff97a148f8c106bc23875df02226f9c (patch)
treef489270236bdf888652ddeb90609f83e760c0f64 /src/constants.h
parent7cd1251d83bd66a73fa7e9b676e6fe30e91e613a (diff)
downloadminetest-3d0e8a691ff97a148f8c106bc23875df02226f9c.tar.gz
minetest-3d0e8a691ff97a148f8c106bc23875df02226f9c.tar.bz2
minetest-3d0e8a691ff97a148f8c106bc23875df02226f9c.zip
Step height: Add as a player object property
Add settable player step height using the existing object property. Breaks compatibility with old clients, add to protocol version 35.
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/constants.h b/src/constants.h
index fb9e97cb3..e615d00cd 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -80,6 +80,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// the main loop (related to TempMods and day/night)
//#define MAP_BLOCKSIZE 32
+// Player step height in nodes
+#define PLAYER_DEFAULT_STEPHEIGHT 0.6f
+
/*
Old stuff that shouldn't be hardcoded
*/