1
0
Fork 0
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:
ANAND 2019-08-21 18:34:47 +05:30 committed by sfan5
parent 81c7f0ae04
commit e2d6445f2a
2 changed files with 6 additions and 1 deletions

View file

@ -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)
{