Fix pippi suddenly moving to the middle of the object when the next movement takes a long time
This commit is contained in:
parent
280927b01c
commit
0b4d7c57ff
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user