mirror of
https://github.com/yawaflua/Informatis.git
synced 2026-02-04 10:24:21 +02:00
h
This commit is contained in:
@@ -116,8 +116,8 @@ public class OverDrawer {
|
|||||||
if(arrows[0] > settings.getInt("spawnarrowlimit")) return;
|
if(arrows[0] > settings.getInt("spawnarrowlimit")) return;
|
||||||
arrows[0]++;
|
arrows[0]++;
|
||||||
float leng = (player.unit() != null && player.unit().hitSize > 4 * 8f ? player.unit().hitSize * 1.5f : 4 * 8f) + sin;
|
float leng = (player.unit() != null && player.unit().hitSize > 4 * 8f ? player.unit().hitSize * 1.5f : 4 * 8f) + sin;
|
||||||
float camx = camera.position.x;
|
float camx = player.unit() != null ? player.unit().x : camera.position.x;
|
||||||
float camy = camera.position.y;
|
float camy = player.unit() != null ? player.unit().y : camera.position.y;
|
||||||
Lines.stroke(1f + sin/2, Pal.accent);
|
Lines.stroke(1f + sin/2, Pal.accent);
|
||||||
Lines.circle(camx, camy, leng - 4f);
|
Lines.circle(camx, camy, leng - 4f);
|
||||||
Drawf.arrow(camx, camy, t.worldx(), t.worldy(), leng, (Math.min(200 * 8f, Mathf.dst(camx, camy, t.worldx(), t.worldy())) / (200 * 8f)) * (5f + sin));
|
Drawf.arrow(camx, camy, t.worldx(), t.worldy(), leng, (Math.min(200 * 8f, Mathf.dst(camx, camy, t.worldx(), t.worldy())) / (200 * 8f)) * (5f + sin));
|
||||||
|
|||||||
Reference in New Issue
Block a user