mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +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