crystal:: automatically bitruncate with crystal's implementation

This commit is contained in:
Zeno Rogue
2018-12-14 19:27:11 +01:00
parent fd3b030119
commit 851e217a73
3 changed files with 9 additions and 0 deletions
+5
View File
@@ -1158,6 +1158,11 @@ void set_variation(eVariation target) {
if(variation != target) {
stop_game();
if(euclid6 || binarytiling) geometry = gNormal;
if(target == eVariation::bitruncated && geometry == gCrystal && ginf[gCrystal].sides == 8 && !crystal::add_bitruncation) {
crystal::add_bitruncation = true;
ginf[gCrystal].vertex = 3;
target = eVariation::pure;
}
variation = target;
need_reset_geometry = true;
}