From c3d79fdf679a749d961719ad662b9f46b0f26ec1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 29 May 2024 11:48:53 +0200 Subject: d --- src/critter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/critter.cpp') diff --git a/src/critter.cpp b/src/critter.cpp index 7b337953..03923e69 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -312,10 +312,10 @@ constexpr float step_magnitude(Vector2b vec) if (vec.x() * vec.y() != 0) // diagonal - return d; + return d; else // axis-aligned - return c; + return c; } Ns return_unspent_dt(uint32_t nframes, uint32_t i, float speed, Ns frame_duration) -- cgit v1.2.3