1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

implemented dual-subcubes and bch-subcubes variations

This commit is contained in:
Zeno Rogue
2021-07-07 18:26:03 +02:00
parent 415fe72329
commit 32a7f03360
5 changed files with 267 additions and 38 deletions

View File

@@ -1377,7 +1377,7 @@ EX void set_geometry(eGeometry target) {
EX void set_variation(eVariation target) {
if(variation != target) {
stop_game();
if(target == eVariation::subcubes) {
if(is_subcube_based(target)) {
if(!reg3::in()) geometry = hyperbolic ? gSpace435 : gCell8;
variation = target;
return;