summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-21 18:05:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-21 18:05:31 +0100
commit75503e5b7ff9def4325db3ca9524f78e06fc352c (patch)
tree59d8dc1b86a530f795d696cbd5d00020f582fd3c
parent993dde2e427127e0c1eb20099c1e014228050c90 (diff)
d
-rw-r--r--editor/tests/pathfinding.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/tests/pathfinding.cpp b/editor/tests/pathfinding.cpp
index 23c3009e..2e7d34f3 100644
--- a/editor/tests/pathfinding.cpp
+++ b/editor/tests/pathfinding.cpp
@@ -155,7 +155,6 @@ constexpr float step_magnitude(Vector2b vec)
constexpr double cʹ = critter::move_speed * critter::frame_time;
constexpr double dʹ = cʹ / Vector2d{1, 1}.length();
constexpr auto c = (float)cʹ, d = (float)dʹ;
- const auto vecʹ = Vector2(vec);
if (vec.x() * vec.y() != 0)
// diagonal