Index: src/common/effects/pseffectanchor.cpp =================================================================== --- src/common/effects/pseffectanchor.cpp (revision 5654) +++ src/common/effects/pseffectanchor.cpp (working copy) @@ -229,8 +229,7 @@ animLength = 10; life += (float)elapsed; - while (life > animLength) - life -= animLength; + life = life - (int)(life/animLength)*animLength; if (keyFrames->GetSize() == 0) return true;