polymovers don't like slidermovers

This commit is contained in:
yugecin 2016-11-20 17:02:55 +01:00
parent 30186b94f4
commit b325b53e4f

View File

@ -183,9 +183,11 @@ public class Dancer {
p = gameObjects[objectIndex - 1]; p = gameObjects[objectIndex - 1];
} }
GameObject c = gameObjects[objectIndex]; GameObject c = gameObjects[objectIndex];
if (!multipoint) {
GameObject[] e = sliderMoverController.process(p, c, time); GameObject[] e = sliderMoverController.process(p, c, time);
p = e[0]; p = e[0];
c = e[1]; c = e[1];
}
if (this.p != p) { if (this.p != p) {
this.p = p; this.p = p;
if (this.p == d) { if (this.p == d) {