mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
bug fixed: when ruleset was available only for the pure honeycomb, loading it would reset variation to pure
This commit is contained in:
parent
466cc5cc0a
commit
d03db1115c
7
reg3.cpp
7
reg3.cpp
@ -1854,7 +1854,12 @@ EX namespace reg3 {
|
|||||||
|
|
||||||
shstream ins(decompress_string(read_file_as_string(fname)));
|
shstream ins(decompress_string(read_file_as_string(fname)));
|
||||||
ins.read(ins.vernum);
|
ins.read(ins.vernum);
|
||||||
mapstream::load_geometry(ins);
|
if(1) {
|
||||||
|
dynamicval<eVariation> dv(variation);
|
||||||
|
dynamicval<flagtype> dc(coxeter_param);
|
||||||
|
dynamicval<int> ds(subcube_count);
|
||||||
|
mapstream::load_geometry(ins);
|
||||||
|
}
|
||||||
ins.read(fieldpattern::use_rule_fp);
|
ins.read(fieldpattern::use_rule_fp);
|
||||||
ins.read(fieldpattern::use_quotient_fp);
|
ins.read(fieldpattern::use_quotient_fp);
|
||||||
ins.read(reg3::minimize_quotient_maps);
|
ins.read(reg3::minimize_quotient_maps);
|
||||||
|
Loading…
Reference in New Issue
Block a user