mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Network proto handlers/container fixes (#6334)
* Fix HP transport + some double <-> float problems TOCLIENT_HP transport u16 hp as a u8, use u16 HP, this prevent HP over 255 to overflow across network * Fix more double/float problem in serverpackethandler & remove implicit struct type for TileAnimationParams * Fix connection unittests container
This commit is contained in:
@@ -52,7 +52,7 @@ struct ClientEvent
|
||||
//} none;
|
||||
struct
|
||||
{
|
||||
u8 amount;
|
||||
u16 amount;
|
||||
} player_damage;
|
||||
struct
|
||||
{
|
||||
|
Reference in New Issue
Block a user