summaryrefslogtreecommitdiffhomepage
path: root/src/critter.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-16 21:22:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-16 21:22:57 +0200
commit2eb73de513a7a320d2b6e2c91c1fd0c7f1c3380e (patch)
tree7836f9707acc6ffa37bab6b29c676e8bd331afaa /src/critter.cpp
parent1361d7d36aca930f621ac1f5a68aae515eb6a28d (diff)
f
Diffstat (limited to 'src/critter.cpp')
-rw-r--r--src/critter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/critter.cpp b/src/critter.cpp
index 07c8f0cc..32d1048b 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -190,7 +190,7 @@ bool update_movement_3way(size_t& i, critter& C, const anim_def& info)
constexpr bool DoUnroll = true;
template<rotation new_r>
-requires (((int)new_r & 1) % 2 != 0)
+requires ((int)new_r % 2 != 0)
CORRADE_ALWAYS_INLINE
bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nframes)
{