1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

ads-game:: don't display ship history unless paused

This commit is contained in:
Zeno Rogue 2022-09-29 01:12:46 +02:00
parent 7f8a2f7a49
commit 0c6d83b702

View File

@ -510,7 +510,7 @@ void view_ds_game() {
} }
ld delta = paused ? 1e-4 : -1e-4; 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;
if(ss.at.shift > current.shift + 4 * TAU) continue; if(ss.at.shift > current.shift + 4 * TAU) continue;
dynamicval<eGeometry> g(geometry, gSpace435); dynamicval<eGeometry> g(geometry, gSpace435);