From 8b02a015eb7630c25e255ffe400bb714d023609b Mon Sep 17 00:00:00 2001 From: BlockMen Date: Sat, 12 Apr 2014 13:50:22 +0200 Subject: Use integers instead of float values --- src/client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index dbe959067..729640268 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1922,10 +1922,10 @@ void Client::ProcessData(u8 *data, u32 datasize, u16 sender_peer_id) LocalPlayer *player = m_env.getLocalPlayer(); assert(player != NULL); - player->local_animations[0] = readV2F1000(is); - player->local_animations[1] = readV2F1000(is); - player->local_animations[2] = readV2F1000(is); - player->local_animations[3] = readV2F1000(is); + player->local_animations[0] = readV2S32(is); + player->local_animations[1] = readV2S32(is); + player->local_animations[2] = readV2S32(is); + player->local_animations[3] = readV2S32(is); player->local_animation_speed = readF1000(is); } else if(command == TOCLIENT_EYE_OFFSET) -- cgit v1.2.3