mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
no more crash when saving config in arcm
This commit is contained in:
parent
5a9f3f57e6
commit
f3dd779947
@ -1377,6 +1377,7 @@ EX void initgraph() {
|
||||
#if CAP_CONFIG
|
||||
loadConfig();
|
||||
#endif
|
||||
arcm::current.parse();
|
||||
|
||||
#if CAP_COMMANDLINE
|
||||
arg::read(2);
|
||||
|
@ -508,6 +508,8 @@ EX void initConfig() {
|
||||
addsaverenum(models::basic_model, "basic model");
|
||||
addsaver(models::use_atan, "use_atan");
|
||||
|
||||
addsaver(arcm::current.symbol, "arcm-symbol", "4^5");
|
||||
|
||||
for(int i=0; i<isize(ginf); i++) {
|
||||
if(ginf[i].flags & qELLIPTIC)
|
||||
sightranges[i] = M_PI;
|
||||
|
Loading…
Reference in New Issue
Block a user