1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

fixed rose

This commit is contained in:
Zeno Rogue 2019-06-01 20:41:09 +02:00
parent 8a1ca8e05d
commit 101707e2ad

View File

@ -5245,16 +5245,18 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
// floor // floor
bool eoh = euclid || !BITRUNCATED; bool eoh = euclid || !BITRUNCATED;
if(c->wall == waChasm || chaosmode || c->land != laRose) { if(DIM == 2 && (c->land != laRose || chaosmode)) {
zcol = 0;
int rd = rosedist(c); int rd = rosedist(c);
if(chaosmode || c->land != laRose) {
if(rd == 1) if(rd == 1)
draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406040, PPR::LIZEYE); draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406040, PPR::LIZEYE);
if(rd == 2) if(rd == 2)
draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406080, PPR::LIZEYE); draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406080, PPR::LIZEYE);
} }
else {
if(c->wall == waChasm) {
zcol = 0;
int rd = rosedist(c);
if(DIM == 2) {
if(rd == 1) if(rd == 1)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020); draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020);
if(rd == 2) if(rd == 2)