1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 09:50:34 +00:00

arcm:: fixed a stupid bug

This commit is contained in:
Zeno Rogue 2023-05-25 10:23:35 +02:00
parent 3fdd6d4967
commit 3e8dd6f549

View File

@ -428,8 +428,8 @@ void archimedean_tiling::compute_geometry() {
auto& arr = a ? geom3::ginf_backup : ginf;
if(arr.empty()) continue;
if(gg.kind == gcSphere) arr[gArchimedean].g = arr[gSphere].g;
if(gg.kind == gcEuclid) arr[gArchimedean].g = arr[gNormal].g;
if(gg.kind == gcHyperbolic) arr[gArchimedean].g = arr[gEuclid].g;
if(gg.kind == gcEuclid) arr[gArchimedean].g = arr[gEuclid].g;
if(gg.kind == gcHyperbolic) arr[gArchimedean].g = arr[gNormal].g;
set_flag(arr[gArchimedean].flags, qCLOSED, gg.kind == gcSphere);
}
if(geom3::flipped) swap(geom3::ginf_backup[gArchimedean].g, ginf[gArchimedean].g);