From 0c6d83b702b4e7df7eae9763e276280b9ee83881 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 29 Sep 2022 01:12:46 +0200 Subject: [PATCH] ads-game:: don't display ship history unless paused --- rogueviz/ads/ds-game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/ads/ds-game.cpp b/rogueviz/ads/ds-game.cpp index 80b5e502..1794c5ce 100644 --- a/rogueviz/ads/ds-game.cpp +++ b/rogueviz/ads/ds-game.cpp @@ -510,7 +510,7 @@ void view_ds_game() { } ld delta = paused ? 1e-4 : -1e-4; - for(auto& ss: history) { + if(paused) for(auto& ss: history) { if(ss.at.shift < current.shift - 4 * TAU) continue; if(ss.at.shift > current.shift + 4 * TAU) continue; dynamicval g(geometry, gSpace435);