mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 10:45:27 +02: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:
@@ -88,7 +88,7 @@ private:
|
||||
v3f m_velocity;
|
||||
v3f m_acceleration;
|
||||
v3f m_rotation;
|
||||
s16 m_hp = 1;
|
||||
u16 m_hp = 1;
|
||||
SmoothTranslator<v3f> pos_translator;
|
||||
SmoothTranslatorWrappedv3f rot_translator;
|
||||
// Spritesheet/animation stuff
|
||||
|
Reference in New Issue
Block a user