mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-16 21:57:15 +00:00
crystal:: automatically bitruncate with crystal's implementation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user