From d0bee1b3353ccea3544a397c03e8a654b6be3e7c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 25 Jan 2018 23:47:38 +0100 Subject: [PATCH] rosescent over chasm is now visible --- graph.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index 65786b0c..b824e5fb 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3693,7 +3693,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { } poly_outline = OUTLINE_DEFAULT; - + if(!wmascii) { // floor @@ -4632,6 +4632,14 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { if(c->wall == waChasm) zcol = 0; addaura(tC0(V), zcol, fd); + if(c->wall == waChasm) { + int rd = rosedist(c); + if(rd == 1) + queuepoly(V, shRoseFloor[ct6], 0x80406020); + if(rd == 2) + queuepoly(V, shRoseFloor[ct6], 0x80406040); + } + int ad = airdist(c); if(ad == 1 || ad == 2) {