mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix LocalPlayer::isDead always returning false if player is immortal
This commit is contained in:
parent
81c7f0ae04
commit
e2d6445f2a
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue