mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
product:: no crash on load when saved
This commit is contained in:
parent
1778fd5d8e
commit
0811f8f2d0
@ -1387,6 +1387,7 @@ EX void initgraph() {
|
|||||||
loadConfig();
|
loadConfig();
|
||||||
#endif
|
#endif
|
||||||
arcm::current.parse();
|
arcm::current.parse();
|
||||||
|
if(geometry == gProduct) geometry = product::underlying;
|
||||||
|
|
||||||
#if CAP_COMMANDLINE
|
#if CAP_COMMANDLINE
|
||||||
arg::read(2);
|
arg::read(2);
|
||||||
|
@ -511,6 +511,7 @@ EX void initConfig() {
|
|||||||
addsaver(models::use_atan, "use_atan");
|
addsaver(models::use_atan, "use_atan");
|
||||||
|
|
||||||
addsaver(arcm::current.symbol, "arcm-symbol", "4^5");
|
addsaver(arcm::current.symbol, "arcm-symbol", "4^5");
|
||||||
|
addsaverenum(product::underlying, "product-underlying");
|
||||||
|
|
||||||
for(int i=0; i<isize(ginf); i++) {
|
for(int i=0; i<isize(ginf); i++) {
|
||||||
if(ginf[i].flags & qELLIPTIC)
|
if(ginf[i].flags & qELLIPTIC)
|
||||||
|
Loading…
Reference in New Issue
Block a user