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