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:
10
pattern2.cpp
10
pattern2.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user