This commit is contained in:
Anuken
2020-06-08 11:52:14 -04:00
parent 1f905790e7
commit cac6041583
2 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ abstract class LegsComp implements Posc, Rotc, Hitboxc, Flyingc, Unitc, Elevatio
boolean side = i < legs.length/2;
//back legs have reversed directions
boolean backLeg = Math.abs((i + 0.5f) - legs.length/2f) <= 0.501f;
if(backLeg) side = !side;
if(backLeg && type.flipBackLegs) side = !side;
l.moving = move;
l.stage = stageF % 1f;