From 8a6af71225c7d4f47964945658600c0826626e59 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 17 Jul 2024 11:29:23 +0200 Subject: simplify requires clause --- src/critter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/critter.cpp b/src/critter.cpp index 32d1048b..8b6af68b 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -217,7 +217,7 @@ bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nfr } template -requires (((int)new_r & 1) % 2 == 0) +requires ((int)new_r % 2 == 0) CORRADE_NEVER_INLINE bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nframes) { -- cgit v1.2.3