aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/particles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/particles.cpp b/src/client/particles.cpp
index 818cdc8cc..248f461bc 100644
--- a/src/client/particles.cpp
+++ b/src/client/particles.cpp
@@ -555,6 +555,7 @@ void ParticleSpawner::spawnParticle(ClientEnvironment *env, float radius,
// synchronize animation length with particle life if desired
if (pp.animation.type != TAT_NONE) {
+ // FIXME: this should be moved into a TileAnimationParams class method
if (pp.animation.type == TAT_VERTICAL_FRAMES &&
pp.animation.vertical_frames.length < 0) {
auto& a = pp.animation.vertical_frames;