diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-28 21:40:39 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-28 21:40:39 +0200 |
commit | 46fef2a18ac6382bcf2c0586faf40a8dfe32420e (patch) | |
tree | ec7635bec7759067ac24082c3bbd4a6d0710be96 /source/Protocol/Protocol132.cpp | |
parent | Doxyfile: Added exclusions for SQLite and the unused Squuirrel bindings (diff) | |
download | cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar.gz cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar.bz2 cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar.lz cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar.xz cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.tar.zst cuberite-46fef2a18ac6382bcf2c0586faf40a8dfe32420e.zip |
Diffstat (limited to 'source/Protocol/Protocol132.cpp')
-rw-r--r-- | source/Protocol/Protocol132.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Protocol/Protocol132.cpp b/source/Protocol/Protocol132.cpp index 213fa26ae..eb73fde96 100644 --- a/source/Protocol/Protocol132.cpp +++ b/source/Protocol/Protocol132.cpp @@ -406,9 +406,9 @@ void cProtocol132::SendSpawnMob(const cMonster & a_Mob) WriteInt (a_Mob.GetUniqueID());
WriteByte (a_Mob.GetMobType());
WriteVectorI((Vector3i)(a_Mob.GetPosition() * 32));
- WriteByte ((BYTE)((a_Mob.GetRotation() / 360.f) * 256));
- WriteByte ((BYTE)((a_Mob.GetPitch() / 360.f) * 256));
- WriteByte ((BYTE)((a_Mob.GetHeadYaw() / 360.f) * 256));
+ WriteByte ((Byte)((a_Mob.GetRotation() / 360.f) * 256));
+ WriteByte ((Byte)((a_Mob.GetPitch() / 360.f) * 256));
+ WriteByte ((Byte)((a_Mob.GetHeadYaw() / 360.f) * 256));
WriteShort ((short)(a_Mob.GetSpeedX() * 400));
WriteShort ((short)(a_Mob.GetSpeedY() * 400));
WriteShort ((short)(a_Mob.GetSpeedZ() * 400));
|