1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00

fixed the displayed name of arbitrary tiling when converting

This commit is contained in:
Zeno Rogue 2024-06-02 16:44:56 +02:00
parent 517f540800
commit df5deaba4b

View File

@ -1987,7 +1987,8 @@ EX void convert() {
auto& ac = arb::current;
ac.order++;
ac.comment = ac.filename = "converted from: " + full_geometry_name();
ac.filename = full_geometry_name();
ac.comment = "converted from: " + ac.filename;
ac.cscale = cgi.scalefactor;
ac.boundary_ratio = 1;
ac.floor_scale = cgi.hexvdist / cgi.scalefactor;
@ -1997,6 +1998,7 @@ EX void convert() {
ginf[gArbitrary].g = cginf.g;
ginf[gArbitrary].flags = cgflags & qCLOSED;
ginf[gArbitrary].tiling_name = full_geometry_name();
for(int i=0; i<N; i++) {
auto id = identification[old_shvids[i]];