diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 424885e62..6cf63c33d 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -779,7 +779,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, RemotePlayer *player_, u16 peer_id m_wield_index(0), m_position_not_sent(false), m_is_singleplayer(is_singleplayer), - m_breath(PLAYER_MAX_BREATH), + m_breath(PLAYER_MAX_BREATH_DEFAULT), m_pitch(0), m_fov(0), m_wanted_range(0), diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 05195c91f..a9fcb3053 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -35,7 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc., LocalPlayer::LocalPlayer(Client *client, const char *name): Player(name, client->idef()), parent(NULL), - hp(PLAYER_MAX_HP), + hp(PLAYER_MAX_HP_DEFAULT), isAttached(false), touching_ground(false), in_liquid(false), @@ -76,7 +76,7 @@ LocalPlayer::LocalPlayer(Client *client, const char *name): m_old_node_below(32767,32767,32767), m_old_node_below_type("air"), m_can_jump(false), - m_breath(PLAYER_MAX_BREATH), + m_breath(PLAYER_MAX_BREATH_DEFAULT), m_yaw(0), m_pitch(0), camera_barely_in_ceiling(false),