mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
fixed the availability for gTwistedProduct
This commit is contained in:
parent
df0061b9f1
commit
50fba587c4
12
geom-exp.cpp
12
geom-exp.cpp
@ -316,15 +316,15 @@ void set_or_configure_geometry(eGeometry g) {
|
||||
else {
|
||||
bool quo = false;
|
||||
if(among(g, gProduct, gTwistedProduct)) {
|
||||
if(WDIM == 3 || (g == gTwistedProduct && euclid)) {
|
||||
addMessage(
|
||||
g == gTwistedProduct ?
|
||||
XLAT("Only works with 2D non-Euclidean geometries")
|
||||
: XLAT("Only works with 2D geometries")
|
||||
);
|
||||
if(WDIM == 3) {
|
||||
addMessage(XLAT("Only works with 2D geometries"));
|
||||
return;
|
||||
}
|
||||
if(g == gTwistedProduct) {
|
||||
if(nonorientable) {
|
||||
addMessage(XLAT("Only works in orientable spaces"));
|
||||
return;
|
||||
}
|
||||
bool ok = true;
|
||||
quo = sphere || quotient;
|
||||
if(arcm::in()) ok = PURE;
|
||||
|
Loading…
Reference in New Issue
Block a user