From 59f487c9416f04053722c388c3ccb53873ae626f Mon Sep 17 00:00:00 2001 From: Kelsi Date: Mon, 23 Feb 2026 07:37:01 -0800 Subject: [PATCH] Fix foot splash particles being cleared immediately when wading Ripples were cleared every frame the player wasn't swimming, which destroyed foot splash particles the same frame they were spawned. Now particles expire naturally via their lifetime. --- src/rendering/swim_effects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rendering/swim_effects.cpp b/src/rendering/swim_effects.cpp index d587280b..06cc82f5 100644 --- a/src/rendering/swim_effects.cpp +++ b/src/rendering/swim_effects.cpp @@ -552,7 +552,8 @@ void SwimEffects::update(const Camera& camera, const CameraController& cc, } } else { rippleSpawnAccum = 0.0f; - ripples.clear(); + // Don't clear ripples — foot splash particles are added while wading + // (not swimming) and need to live out their lifetime. } // --- Bubble spawning ---