mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add possibility to easier override HP and breath engine logic by Lua (#14179)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
This commit is contained in:
@@ -228,6 +228,12 @@ private:
|
||||
SimpleMetadata m_meta;
|
||||
|
||||
public:
|
||||
struct {
|
||||
bool breathing : 1;
|
||||
bool drowning : 1;
|
||||
bool node_damage : 1;
|
||||
} m_flags = {true, true, true};
|
||||
|
||||
bool m_physics_override_sent = false;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user