diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-02-11 00:03:26 +0100 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2019-02-10 23:03:26 +0000 |
commit | ffb17f1c9a203fea6de70159b461f52d104e05b9 (patch) | |
tree | ca2c9f26515b8c6dad2a42b7e09f5d2a91d6f398 /src/object_properties.h | |
parent | ba5a9f2b361a2fa01d1a3396999a5833983c0f4a (diff) | |
download | minetest-ffb17f1c9a203fea6de70159b461f52d104e05b9.tar.gz minetest-ffb17f1c9a203fea6de70159b461f52d104e05b9.tar.bz2 minetest-ffb17f1c9a203fea6de70159b461f52d104e05b9.zip |
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.
Diffstat (limited to 'src/object_properties.h')
-rw-r--r-- | src/object_properties.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_properties.h b/src/object_properties.h index 3175e6118..199182d70 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -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; |