eh, hope this fixes

This commit is contained in:
Oswald Auguste de Bruin 2013-10-16 13:55:56 +02:00
parent ffc0a2c2aa
commit f1b3ff276e

View file

@ -227,10 +227,8 @@ int main(int argc, char** argv){
if ( !source.getJSON()){ if ( !source.getJSON()){
playing = 0; playing = 0;
} }
if (source.atKeyframe()){ if (playing > 0 && source.atKeyframe()){
if (playing > 0){ --playing;
--playing;
}
} }
if (lastTime == 0){ if (lastTime == 0){
lastTime = now - source.getJSON()["time"].asInt(); lastTime = now - source.getJSON()["time"].asInt();