diff --git a/source/shared_lib/sources/graphics/particle.cpp b/source/shared_lib/sources/graphics/particle.cpp index 7e15785cf..e3bbd9c9e 100644 --- a/source/shared_lib/sources/graphics/particle.cpp +++ b/source/shared_lib/sources/graphics/particle.cpp @@ -505,6 +505,9 @@ void GameParticleSystem::setTween(float relative,float absolute) { tween /= modelCycle; } } + if(tween < 0.0f || tween > 1.0f) { + printf("ERROR setting tween to [%f]\n",tween); + } assert(tween >= 0.0f && tween <= 1.0f); tween= clamp(tween, 0.0f, 1.0f); }