mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-26 00:40:15 +00:00
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.
This commit is contained in:
parent
a7102ab742
commit
59f487c941
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue