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

3d:: out-of-memory chasms are displayed as hard walls (faster racing)

This commit is contained in:
? 2019-02-27 18:37:26 +01:00 committed by Zeno Rogue
parent c032db2019
commit a9a02e0f8f

View File

@ -3801,7 +3801,7 @@ void draw_gravity_particles(cell *c, const transmatrix V) {
bool isWall3(cell *c, color_t& wcol) {
if(isWorm(c)) { wcol = minf[c->monst].color; return true; }
if(isWall(c)) return true;
// if(c->wall == waChasm) { wcol = 0x606000; return true; }
if(c->wall == waChasm && c->land == laMemory) { wcol = 0x606000; return true; }
if(c->wall == waInvisibleFloor) return false;
// if(chasmgraph(c)) return true;
if(among(c->wall, waMirror, waCloud)) return true;