1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-29 08:29:04 +00:00

reg3:: the new variations can be selected from the menu

This commit is contained in:
Zeno Rogue
2021-07-09 14:01:55 +02:00
parent f300d0f8e9
commit 479b2eaf3c
4 changed files with 85 additions and 4 deletions

View File

@@ -1387,7 +1387,9 @@ EX void set_variation(eVariation target) {
variation = target;
return;
}
if(bt::in() || sol || kite::in() || WDIM == 3) if(!prod) geometry = gNormal;
if(target != eVariation::pure) {
if(bt::in() || sol || kite::in() || WDIM == 3) if(!prod) geometry = gNormal;
}
auto& cd = ginf[gCrystal];
if(target == eVariation::bitruncated && cryst && cd.sides == 8 && cd.vertex == 4) {
cd.vertex = 3;