mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Consistent HP and damage types (#8167)
Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
This commit is contained in:
parent
ba5a9f2b36
commit
ffb17f1c9a
25 changed files with 67 additions and 136 deletions
|
@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
struct ObjectProperties
|
||||
{
|
||||
s16 hp_max = 1;
|
||||
u16 hp_max = 1;
|
||||
u16 breath_max = 0;
|
||||
bool physical = false;
|
||||
bool collideWithObjects = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue