Project

General

Profile

« Previous | Next » 

Revision 0bff397a

Added by Leszek Koltunski over 4 years ago

Fixes for pausing and restarting.

View differences:

src/main/java/org/distorted/library/type/Dynamic.java
693 693

  
694 694
    long diff = time-mPausedTime;
695 695

  
696
    if( diff>=0 && diff<=step )
696
    if( mStartTime<mPausedTime && diff>=0 && diff<=step )
697 697
      {
698 698
      mStartTime += diff;
699 699
      step -= diff;

Also available in: Unified diff