summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-20 16:14:40 +0100
committermadmaxoft <github@xoft.cz>2014-03-20 16:14:40 +0100
commitb370cacf0c0e1234aef1efd9c442ff335a379258 (patch)
treef33cde746f321e2c7dda44f6110f246a90b1822e /src/Protocol
parentAPIDump: Fixed wrong escaped strings. (diff)
downloadcuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar.gz
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar.bz2
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar.lz
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar.xz
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.tar.zst
cuberite-b370cacf0c0e1234aef1efd9c442ff335a379258.zip
Diffstat (limited to 'src/Protocol')
-rw-r--r--src/Protocol/Protocol17x.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 21c77e903..721ed349e 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -687,8 +687,7 @@ void cProtocol172::SendPlayerAbilities(void)
Flags |= 0x04;
}
Pkt.WriteByte(Flags);
- // TODO: Pkt.WriteFloat(m_Client->GetPlayer()->GetMaxFlyingSpeed());
- Pkt.WriteFloat(0.05f);
+ Pkt.WriteFloat((float)(0.05 * m_Client->GetPlayer()->GetFlyingMaxSpeed()));
Pkt.WriteFloat((float)(0.1 * m_Client->GetPlayer()->GetMaxSpeed()));
}