summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-12 00:41:19 +0100
committerAki <please@ignore.pl>2023-02-12 00:41:19 +0100
commit26f5a5069dbbb4339074076d535caa0860d3b565 (patch)
tree3cffbdd2ddb68c6aaead5d27fe3c888ec7c3e770
parent2ddea8ac8dd07e9e0a1d23e91c4ac1fe213a6b7d (diff)
downloadkurator-26f5a5069dbbb4339074076d535caa0860d3b565.zip
kurator-26f5a5069dbbb4339074076d535caa0860d3b565.tar.gz
kurator-26f5a5069dbbb4339074076d535caa0860d3b565.tar.bz2
Velocity indicators are now dark greenish
-rw-r--r--kurator/src/Battle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kurator/src/Battle.cpp b/kurator/src/Battle.cpp
index 66a17bd..9f33d59 100644
--- a/kurator/src/Battle.cpp
+++ b/kurator/src/Battle.cpp
@@ -237,7 +237,7 @@ draw_markers(engine::ConstContext& ctx)
const auto& velocity = movement.speed;
const auto edge = pos + velocity.normalized().scale(marker.radius);
const auto tip = edge + velocity.scale(2.0 * ctx.camera.scale);
- DrawLine(edge.x, edge.y, tip.x, tip.y, DARKGRAY);
+ DrawLine(edge.x, edge.y, tip.x, tip.y, DARKGREEN);
}
const engine::Point direction {std::cos(transform.angle), std::sin(transform.angle)};
const auto edge = pos + direction.scale(marker.radius);