From d015e878c8e6e5a1a053f25e8ceddc9e55d558a6 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 16 Sep 2020 09:57:12 -0400 Subject: [PATCH] Visual fixes --- core/src/mindustry/entities/bullet/SapBulletType.java | 7 ++++++- .../mindustry/world/blocks/distribution/ItemBridge.java | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/entities/bullet/SapBulletType.java b/core/src/mindustry/entities/bullet/SapBulletType.java index 6dab6ce13c..549485c3e2 100644 --- a/core/src/mindustry/entities/bullet/SapBulletType.java +++ b/core/src/mindustry/entities/bullet/SapBulletType.java @@ -39,10 +39,15 @@ public class SapBulletType extends BulletType{ Draw.reset(); - Drawf.light(b.team, b.x, b.y, b.x + Tmp.v1.x, b.y + Tmp.v1.y, 15f * b.fout(), lightColor, 0.6f); + Drawf.light(b.team, b.x, b.y, Tmp.v1.x, Tmp.v1.y, 15f * b.fout(), lightColor, 0.6f); } } + @Override + public void drawLight(Bullet b){ + + } + @Override public float range(){ return length; diff --git a/core/src/mindustry/world/blocks/distribution/ItemBridge.java b/core/src/mindustry/world/blocks/distribution/ItemBridge.java index 7fa0f21987..6064963919 100644 --- a/core/src/mindustry/world/blocks/distribution/ItemBridge.java +++ b/core/src/mindustry/world/blocks/distribution/ItemBridge.java @@ -303,7 +303,7 @@ public class ItemBridge extends Block{ Lines.stroke(8f); - Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(-tilesize/2f); + Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(tilesize/2f).scl(-1f); Lines.line(bridgeRegion, x + Tmp.v1.x,