From 5a5266ec776161dca7a0b8916d7229a811b137a4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 12 Mar 2025 21:30:04 +0100 Subject: [PATCH] rogueviz::fifteen:: do not show incorrectly items/monsters --- rogueviz/fifteen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/fifteen.cpp b/rogueviz/fifteen.cpp index c000d4b6..25c9e7c4 100644 --- a/rogueviz/fifteen.cpp +++ b/rogueviz/fifteen.cpp @@ -142,7 +142,7 @@ void scramble() { bool draw_fifteen(cell *c, const shiftmatrix& V) { hr::addaura(tC0(V), darkened(0x0000FF), 0); lastexplore = turncount; - if(!fif.count(c)) { c->land = laNone; c->wall = waChasm; return false; } + if(!fif.count(c)) { c->land = laNone; c->wall = waChasm; c->item = itNone; c->monst = moNone; return false; } check_move(); auto& cd = fif[c];