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 72c06133..64446633 100644
--- a/src/critter.cpp
+++ b/src/critter.cpp
@@ -200,7 +200,7 @@ void critter::update_movement(size_t i, Ns dt, rotation new_r)
}
}
- if (!can_move)
+ if (!can_move) [[unlikely]]
{
delta = {};
offset_frac = {};