millisOffset changed in android to keep it consistent with the core

This commit is contained in:
lonnen
2011-02-02 00:25:59 +00:00
parent a8262d5320
commit 1ab917229b

View File

@@ -267,7 +267,7 @@ public class PApplet extends Activity implements PConstants, Runnable {
* <P>
* Used by the millis() function.
*/
long millisOffset;
long millisOffset = System.currentTimeMillis();
/**
* The current value of frames per second.
@@ -503,7 +503,7 @@ public class PApplet extends Activity implements PConstants, Runnable {
// code below here formerly from init()
millisOffset = System.currentTimeMillis();
//millisOffset = System.currentTimeMillis(); // moved to the variable declaration
finished = false; // just for clarity