diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-11 17:03:09 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-11 17:03:09 +0200 |
commit | 3bd3ac2200392542b111d2bcd2951bd342edf721 (patch) | |
tree | 7b7670883575c6687a219192923bc40265192eff /src/Protocol/Protocol17x.cpp | |
parent | 1.8: Added MultiBlockChange packet. (diff) | |
download | cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.gz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.bz2 cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.lz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.xz cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.zst cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index b4f96bd88..d83e86ece 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -847,7 +847,7 @@ void cProtocol172::SendEntityAnimation(const cEntity & a_Entity, char a_Animatio -void cProtocol172::SendParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmmount) +void cProtocol172::SendParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmount) { ASSERT(m_State == 3); // In game mode? @@ -860,7 +860,7 @@ void cProtocol172::SendParticleEffect(const AString & a_ParticleName, float a_Sr Pkt.WriteFloat(a_OffsetY); Pkt.WriteFloat(a_OffsetZ); Pkt.WriteFloat(a_ParticleData); - Pkt.WriteInt(a_ParticleAmmount); + Pkt.WriteInt(a_ParticleAmount); } |