mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-08 16:35:31 +01:00
Fix LocalPlayer::isDead always returning false if player is immortal
This commit is contained in:
@@ -149,7 +149,7 @@ public:
|
||||
|
||||
bool getAutojump() const { return m_autojump; }
|
||||
|
||||
bool isDead() const { return hp <= 0; }
|
||||
bool isDead() const;
|
||||
|
||||
inline void addVelocity(const v3f &vel)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user