diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2022-04-20 08:21:41 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-04-20 09:41:02 +0200 |
commit | 5261e316c52b214dd4602397f4a620e5cee0d132 (patch) | |
tree | 18fb6e072d82871b7d1becac7d6744b5fccec686 /src/ClientHandle.cpp | |
parent | Valid Height is now checked by vector. (diff) | |
download | cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar.gz cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar.bz2 cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar.lz cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar.xz cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.tar.zst cuberite-5261e316c52b214dd4602397f4a620e5cee0d132.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 15118dd2d..db54cc77b 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -2683,13 +2683,13 @@ void cClientHandle::SendExplosion(const Vector3f a_Position, const float a_Power auto ParticleCount = std::min(static_cast<int>(ParticleFormula * 125), 600); // Dark smoke particles: - SendParticleEffect("largesmoke", a_Position, {0.f, 0.f, 0.f,}, Spread, static_cast<int>(ParticleCount)); + SendParticleEffect("largesmoke", a_Position, {0.f, 0.f, 0.f}, Spread, static_cast<int>(ParticleCount)); Spread = ParticleFormula * 0.35f; ParticleCount = std::min(static_cast<int>(ParticleFormula * 550), 1800); // Light smoke particles: - SendParticleEffect("explode", a_Position, {0.f, 0.f, 0.f,}, Spread, static_cast<int>(ParticleCount)); + SendParticleEffect("explode", a_Position, {0.f, 0.f, 0.f}, Spread, static_cast<int>(ParticleCount)); // Shockwave effect: m_Protocol->SendExplosion(a_Position, a_Power); |