Fix pippi suddenly moving to the middle of the object when the next movement takes a long time

This commit is contained in:
yugecin 2016-10-01 21:39:06 +02:00
parent 280927b01c
commit 0b4d7c57ff

View File

@ -77,7 +77,6 @@ public class Pippi {
// don't inc on long movements // don't inc on long movements
if (c.getTime() - time > 400) { if (c.getTime() - time > 400) {
previous = c; previous = c;
return;
} }
} }
Dancer.instance.x += pippirad * Math.cos(angle); Dancer.instance.x += pippirad * Math.cos(angle);