diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-07-12 22:01:25 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-07-12 22:01:25 +0200 |
commit | 4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f (patch) | |
tree | 9b4f5f3e7da05719a3458c2d0e2a9694764b48c5 /source/Protocol/Protocol125.cpp | |
parent | Added the cFastRandom class (diff) | |
download | cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar.gz cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar.bz2 cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar.lz cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar.xz cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.tar.zst cuberite-4fb771f3fffb63d8c54c9201ca6d2ce21bd09e5f.zip |
Diffstat (limited to 'source/Protocol/Protocol125.cpp')
-rw-r--r-- | source/Protocol/Protocol125.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol/Protocol125.cpp b/source/Protocol/Protocol125.cpp index 97c193e97..fddf7d324 100644 --- a/source/Protocol/Protocol125.cpp +++ b/source/Protocol/Protocol125.cpp @@ -469,7 +469,7 @@ void cProtocol125::SendHealth(void) WriteByte (PACKET_UPDATE_HEALTH);
WriteShort((short)m_Client->GetPlayer()->GetHealth());
WriteShort(m_Client->GetPlayer()->GetFoodLevel());
- WriteFloat(m_Client->GetPlayer()->GetFoodSaturationLevel());
+ WriteFloat((float)m_Client->GetPlayer()->GetFoodSaturationLevel());
Flush();
}
|