1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

fixed warped lands

This commit is contained in:
Zeno Rogue
2017-12-18 21:15:03 +01:00
parent 5185f0e186
commit 3ae3faa3c3
3 changed files with 13 additions and 3 deletions

View File

@@ -898,6 +898,16 @@ bool pseudohept(cell *c) {
return pattern_threecolor(c) == 0;
}
bool warptype(cell *c) {
if(a4 && nontruncated) {
if(euclid)
return among(eupattern4(c), 1, 2);
else
return c->master->distance & 1;
}
else return pattern_threecolor(c) == 0;
}
namespace patterns {
int canvasback = linf[laCanvas].color >> 2;
int subcanvas;