1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

disabled heptamarkers blocking the view in 3D

This commit is contained in:
Zeno Rogue 2019-08-08 00:20:14 +02:00
parent ad4c219002
commit 2fbca25361

View File

@ -5596,9 +5596,9 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
else if(wmblack) {
set_floor(cgi.shBFloor[ct6]);
int rd = rosedist(c);
if(rd == 1)
if(WDIM == 2 && rd == 1)
queuepoly(Vf, cgi.shHeptaMarker, darkena(fcol, 0, 0x80));
else if(rd == 2)
else if(WDIM == 2 && rd == 2)
queuepoly(Vf, cgi.shHeptaMarker, darkena(fcol, 0, 0x40));
}
@ -5968,7 +5968,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
set_floor(cgi.shMFloor);
}
if(pseudohept(c) && (
if(WDIM == 2 && pseudohept(c) && (
c->land == laRedRock ||
vid.darkhepta ||
(c->land == laClearing && !BITRUNCATED))) {