The second half of qt_map.cpp is suppressed by '#if 0'.  Make the
same change to prevent a column of giant ants shown for map column 0
in that unused code as was made for the active code.
This commit is contained in:
PatR
2022-01-02 13:56:53 -08:00
parent 76381815f3
commit 87328a1789

View File

@@ -782,13 +782,14 @@ void NetHackQtMapWindow::Clear()
Glyphcolor(0, j) = NO_COLOR;
Glyphttychar(0, j) = ' ';
Glyphflags(0, j) = 0;
Glyphtileidx(0, j) = 0;
Glyphtileidx(0, j) = ::glyphmap[GLYPH_NOTHING].tileidx;
for (int i = 1; i < COLNO; ++i) {
Glyph(i, j) = GLYPH_UNEXPLORED;
Glyphcolor(i, j) = NO_COLOR;
Glyphttychar(i, j) = ' ';
Glyphflags(i, j) = 0;
Glyphtileidx(i, j) = 0;
Glyphtileidx(i, j) = ::glyphmap[GLYPH_UNEXPLORED].tileidx;
}
}
@@ -1035,6 +1036,6 @@ void NetHackQtMapWindow::Changed(int x, int y)
{
change.add(x,y);
}
#endif
#endif /* 0 //RLC */
} // namespace nethack_qt_