mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-07 22:49:54 +00:00
in grid mode, don't try to draw greatwall lines outside of normal geometry pure/bitruncated
This commit is contained in:
parent
1b3aecc10c
commit
6b723977dd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user