1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

a try to fix Halloween glitches (unsuccessful)

This commit is contained in:
Zeno Rogue 2017-10-27 20:10:37 +02:00
parent 967eb79d69
commit 6191409624
2 changed files with 4 additions and 0 deletions

View File

@ -2909,6 +2909,8 @@ void placeSidewall(cell *c, int i, int sidepar, const transmatrix& V, bool warp,
transmatrix V2 = V * ddspin(c, i); transmatrix V2 = V * ddspin(c, i);
// if(sphere && vid.alphax <= 1 && tC0(V2 * xpush(cellgfxdist(c, i)/2))[2] < -.5) return;
/* int aw = away(V2); prio += aw; /* int aw = away(V2); prio += aw;
if(!detaillevel && aw < 0) return; if(!detaillevel && aw < 0) return;
*/ */

View File

@ -1602,3 +1602,5 @@ extern int stampbase;
transmatrix cellrelmatrix(cell *c, int i); transmatrix cellrelmatrix(cell *c, int i);
void terracottaAround(cell *c); void terracottaAround(cell *c);
double cellgfxdist(cell *c, int i);