mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user