summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/critter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/critter.cpp b/test/critter.cpp
index 0e66f186..64388140 100644
--- a/test/critter.cpp
+++ b/test/critter.cpp
@@ -163,9 +163,7 @@ bool run(world& w, const function_view<Ns() const>& make_dt,
if (same_pos)
{
frames_stopped++;
- if (frames_stopped == 0)
- saved_time = time;
- else if (frames_stopped >= max_stop_frames) [[unlikely]]
+ if (frames_stopped >= max_stop_frames) [[unlikely]]
{
if (!start.quiet) [[unlikely]]
{