From 5261e316c52b214dd4602397f4a620e5cee0d132 Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Wed, 20 Apr 2022 08:21:41 +0200 Subject: handled the infinite loop and style --- src/ClientHandle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ClientHandle.cpp') 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(ParticleFormula * 125), 600); // Dark smoke particles: - SendParticleEffect("largesmoke", a_Position, {0.f, 0.f, 0.f,}, Spread, static_cast(ParticleCount)); + SendParticleEffect("largesmoke", a_Position, {0.f, 0.f, 0.f}, Spread, static_cast(ParticleCount)); Spread = ParticleFormula * 0.35f; ParticleCount = std::min(static_cast(ParticleFormula * 550), 1800); // Light smoke particles: - SendParticleEffect("explode", a_Position, {0.f, 0.f, 0.f,}, Spread, static_cast(ParticleCount)); + SendParticleEffect("explode", a_Position, {0.f, 0.f, 0.f}, Spread, static_cast(ParticleCount)); // Shockwave effect: m_Protocol->SendExplosion(a_Position, a_Power); -- cgit v1.2.3