disabled heptamarkers blocking the view in 3D

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:12 +02:00
1 parent ad4c219002
commit 2fbca25361
1 file changed
+3 -3
+3 -3
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))) {