diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 33ff6fcef..2fdd76c22 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2542,7 +2542,7 @@ void Server::RespawnPlayer(u16 peer_id) << " respawns" << std::endl; playersao->setHP(playersao->accessObjectProperties()->hp_max); - playersao->setBreath(PLAYER_MAX_BREATH); + playersao->setBreath(playersao->accessObjectProperties()->breath_max); bool repositioned = m_script->on_respawnplayer(playersao); if (!repositioned) { |