All pastes #1835632 Raw Edit

clueless

public text v1 · immutable
#1835632 ·published 2010-03-12 16:35 UTC
rendered paste body
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;