1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-12 05:43:12 +00:00

rogueviz::fifteen:: do not show incorrectly items/monsters

This commit is contained in:
Zeno Rogue 2025-03-12 21:30:04 +01:00
parent 14b0b589e2
commit 5a5266ec77

View File

@ -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];