Fix compile issue t = fmod(t, (float)_duration);

This commit is contained in:
Cedric Pinson 2010-03-25 20:20:10 +00:00
parent 35fa541350
commit d218032448

View File

@ -126,7 +126,7 @@ bool Animation::update (double time, int priority)
else else
{ {
int tt = (int) (t / _duration); int tt = (int) (t / _duration);
t = fmod(t, (float)_duration); t = fmod(t, _duration);
if (tt%2) if (tt%2)
t = _duration - t; t = _duration - t;
} }