1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixup to dump

This commit is contained in:
Zeno Rogue 2022-08-26 13:10:29 +02:00
parent 3080e5d05b
commit 9f1480d21e

View File

@ -2391,7 +2391,7 @@ EX namespace reg3 {
void dump(string fname) { void dump(string fname) {
fhstream f(fname, "wt"); fhstream f(fname, "wt");
int T = isize(quotient_map->acells); int T = isize(quotient_map->acells);
println(hlog, hyperbolic ? "h3." : "e3."); println(f, hyperbolic ? "h3." : "e3.");
println(f, "celltypes ", T); println(f, "celltypes ", T);
for(int t=0; t<T; t++) { for(int t=0; t<T; t++) {
auto &sh = quotient_map->get_cellshape(quotient_map->acells[t]); auto &sh = quotient_map->get_cellshape(quotient_map->acells[t]);