aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-29 20:37:54 +0200
committerGitHub <noreply@github.com>2017-08-29 20:37:54 +0200
commit1d4a2a6ea7608a9fbe8de07dde8a48476c9f5e0d (patch)
treec39a77aea0dc5820f0b9f5f5f6b9ed01eec68644 /src/client
parent35a40827273c2c30ac018334c7b448545982b784 (diff)
downloadminetest-1d4a2a6ea7608a9fbe8de07dde8a48476c9f5e0d.tar.gz
minetest-1d4a2a6ea7608a9fbe8de07dde8a48476c9f5e0d.tar.bz2
minetest-1d4a2a6ea7608a9fbe8de07dde8a48476c9f5e0d.zip
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
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientevent.h b/src/client/clientevent.h
index 67125cce6..e70937a9e 100644
--- a/src/client/clientevent.h
+++ b/src/client/clientevent.h
@@ -52,7 +52,7 @@ struct ClientEvent
//} none;
struct
{
- u8 amount;
+ u16 amount;
} player_damage;
struct
{