in grid mode, don't try to draw greatwall lines outside of normal geometry pure/bitruncated

This commit is contained in:
Zeno Rogue 2024-03-21 19:40:07 +01:00
parent 1b3aecc10c
commit 6b723977dd
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ void celldrawer::draw_grid() {
int prec = grid_prec();
if(vid.grid && c->bardir != NODIR && c->bardir != NOBARRIERS && c->land != laHauntedWall &&
c->barleft != NOWALLSEP_USED && GDIM == 2) {
c->barleft != NOWALLSEP_USED && GDIM == 2 && geometry == gNormal && (PURE || BITRUNCATED)) {
color_t col = darkena(0x505050, 0, 0xFF);
gridline(V, C0, tC0(cgi.heptmove[c->bardir]), col, prec+1);
gridline(V, C0, tC0(cgi.hexmove[c->bardir]), col, prec+1);