From ec3142af990ea55775185e04e46ebf8eb16e2268 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 21 Feb 2019 00:36:17 +0100 Subject: Group "immortal" also protects players from damage Document new meaning of immortal=1 for players Disable breathing if player is immortal Hide builtin statbars if player immortal (delayed) Co-authored-by: ClobberXD --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index f3c13bad1..b3a6b4909 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1429,7 +1429,7 @@ void Server::SendPlayerHPOrDie(PlayerSAO *playersao, const PlayerHPChangeReason if (playersao->isImmortal()) return; - session_t peer_id = playersao->getPeerID(); + session_t peer_id = playersao->getPeerID(); bool is_alive = playersao->getHP() > 0; if (is_alive) -- cgit v1.2.3