diff --git a/source/src/main.cpp b/source/src/main.cpp index b6629e09..30606d2b 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -406,8 +406,8 @@ int main(int argc, char **argv) limitfps(millis, curmillis); int elapsed = millis-curmillis; curtime = elapsed*gamespeed/100; - if(curtime>200) curtime = 200; - else if(curtime<1) curtime = 1; + //if(curtime>200) curtime = 200; + //else if(curtime<1) curtime = 1; cleardlights(); diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 4d53d612..0967e6f1 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -432,7 +432,7 @@ void physicsframe() // optimally schedule physics frames inside the gra } else { - physicsrepeat = 1; + physicsrepeat = curtime>0 ? 1 : 0; } }