Many misc bugfixes

This commit is contained in:
Anuken
2022-04-26 10:13:33 -04:00
parent 8f5b3ee1e0
commit 42781bd754
4 changed files with 17 additions and 3 deletions

View File

@@ -444,7 +444,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
if(trail != null){
trail.length = type.trailLength;
float scale = elevation();
float scale = elevation;
float offset = type.engineOffset/2f + type.engineOffset/2f*scale;
float cx = x + Angles.trnsx(rotation + 180, offset), cy = y + Angles.trnsy(rotation + 180, offset);