mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
geometry_supports_cdata() always returned false in hybrid
This commit is contained in:
parent
d400bc845e
commit
f0ca277b10
1
cell.cpp
1
cell.cpp
@ -645,6 +645,7 @@ EX bool randpatternMajority(cell *c, int ival, int iterations) {
|
|||||||
cdata orig_cdata;
|
cdata orig_cdata;
|
||||||
|
|
||||||
EX bool geometry_supports_cdata() {
|
EX bool geometry_supports_cdata() {
|
||||||
|
if(hybri) return PIU(geometry_supports_cdata());
|
||||||
return among(geometry, gEuclid, gEuclidSquare, gNormal, gOctagon, g45, g46, g47, gBinaryTiling) || (archimedean && !sphere);
|
return among(geometry, gEuclid, gEuclidSquare, gNormal, gOctagon, g45, g46, g47, gBinaryTiling) || (archimedean && !sphere);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user