mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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.
This commit is contained in:
parent
7cd1251d83
commit
3d0e8a691f
5 changed files with 19 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue