From f29104db505372a25b5d5106bfe583a64e16fa79 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 20 Aug 2024 14:44:13 +0200 Subject: [PATCH] do not draw own ghost while replaying --- rogueviz/nilrider/nilrider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index 3585862e..59780bd5 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -77,7 +77,7 @@ void frame() { if(g.history[s].timer < t) a = s + 1; else b = s; } - if(b < isize(g.history)) g.history[b].draw_unilcycle(V, g.cs); + if(b < isize(g.history) && g.history[b].where != curlev->current.where) g.history[b].draw_unilcycle(V, g.cs); } } }