mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
compute Euler characteristics when worldsize known
This commit is contained in:
parent
9914ddf3ee
commit
1688bfcfb0
@ -660,7 +660,9 @@ EX void showEuclideanMenu() {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
println(hlog, "warning: Euler characteristics unknown");
|
worldsize = isize(currentmap->allcells());
|
||||||
|
println(hlog, "warning: Euler characteristics unknown, worldsize = ", worldsize);
|
||||||
|
euler = 2 * worldsize * denom / nom;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user