Fixed trail length bug / Base projector classes

This commit is contained in:
Anuken
2018-09-06 12:25:38 -04:00
parent f47fb01614
commit 6e6edf8322
4 changed files with 22 additions and 2 deletions
@@ -29,7 +29,7 @@ public class Trail{
points.add(curx, cury);
if(points.size > (int)(length * 2 / Math.min(Timers.delta(), 1f))){
while(points.size > (int)(length * 2 / Math.min(Timers.delta(), 1f))){
float[] items = points.items;
System.arraycopy(items, 2, items, 0, points.size - 2);
points.size -= 2;