mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add drowning
This commit is contained in:
parent
e65ac4d626
commit
53066024f6
15 changed files with 67 additions and 5 deletions
|
@ -2680,6 +2680,13 @@ u16 Client::getHP()
|
|||
return player->hp;
|
||||
}
|
||||
|
||||
u16 Client::getBreath()
|
||||
{
|
||||
Player *player = m_env.getLocalPlayer();
|
||||
assert(player != NULL);
|
||||
return player->breath;
|
||||
}
|
||||
|
||||
bool Client::getChatMessage(std::wstring &message)
|
||||
{
|
||||
if(m_chat_queue.size() == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue