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/content_sao.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/content_sao.cpp') diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 5ba4f1ad1..674ab580c 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -799,6 +799,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, RemotePlayer *player_, u16 peer_id // end of default appearance m_prop.is_visible = true; m_prop.makes_footstep_sound = true; + m_prop.stepheight = PLAYER_DEFAULT_STEPHEIGHT * BS; m_hp = PLAYER_MAX_HP; } -- cgit v1.2.3