Okay, feel better about this.

This commit is contained in:
Jason Felds
2013-04-28 17:24:18 -04:00
parent b1b55a42f6
commit 9a968a21f8
+1 -1
View File
@@ -150,7 +150,7 @@ void AnimatedTexture::SetState( int iState )
float AnimatedTexture::GetAnimationLengthSeconds() const
{
return std::accumulate(vFrames.begin(), vFrames.end(), 0.f,
[](float total, AnimatedTextureState state) { return total += state.fDelaySecs; });
[](float total, AnimatedTextureState const &state) { return total += state.fDelaySecs; });
}
void AnimatedTexture::SetSecondsIntoAnimation( float fSeconds )