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

3d:: display other stuff as ascii without errors

This commit is contained in:
? 2019-02-27 15:51:02 +01:00 committed by Zeno Rogue
parent 9319c3b0fa
commit dc26f3b744

View File

@ -4657,7 +4657,6 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
} }
} }
} }
else if(c->wall == waNone) ;
else if(isFire(c)) { else if(isFire(c)) {
int r = ticks - lastt; int r = ticks - lastt;
r += rand() % 5 + 1; r += rand() % 5 + 1;
@ -4666,8 +4665,9 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
drawParticleSpeed(c, wcol, 75 + rand() % 75); drawParticleSpeed(c, wcol, 75 + rand() % 75);
} }
} }
else if(winf[c->wall].glyph == '.') ;
else error = true; else if(!hiliteclick) queuechr(V, 1, winf[c->wall].glyph, darkenedby(wcol, darken), 2);
} }
else switch(c->wall) { else switch(c->wall) {