fixed new geometry handling for Archimedean

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:15 +02:00
parent 2f954d0538
commit a03eb0d913
23 changed files with 57 additions and 55 deletions
+1 -1
View File
@@ -1198,7 +1198,7 @@ EX void set_variation(eVariation target) {
stop_game();
if(euclid6 || binarytiling || sol || penrose) geometry = gNormal;
auto& cd = ginf[gCrystal];
if(target == eVariation::bitruncated && geometry == gCrystal && cd.sides == 8 && cd.vertex == 4) {
if(target == eVariation::bitruncated && cryst && cd.sides == 8 && cd.vertex == 4) {
cd.vertex = 3;
cd.tiling_name = "{8,3}";
target = eVariation::pure;