summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/critter.cpp4
1 files changed, 2 insertions, 2 deletions
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)