From 3d0e8a691ff97a148f8c106bc23875df02226f9c Mon Sep 17 00:00:00 2001 From: paramat Date: Sun, 6 Aug 2017 03:57:34 +0100 Subject: 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. --- src/constants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/constants.h') 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 */ -- cgit v1.2.3