1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-28 16:32:18 +00:00

fix floorshapes for non-football colorable arbs, and also set is_football_colorable correctly for converted ones

This commit is contained in:
Zeno Rogue 2025-08-19 10:46:34 +02:00
parent 3e9a7a3303
commit 764dd134cc
2 changed files with 2 additions and 0 deletions

View File

@ -2096,6 +2096,7 @@ EX void convert() {
arb::compute_vertex_valence(ac);
ac.have_ph = geosupport_football() ? 1 : 0;
ac.is_football_colorable = geosupport_football() >= 2;
arb::check_football_colorability(ac);
}

View File

@ -408,6 +408,7 @@ void geometry_information::generate_floorshapes_for(int id, cell *c) {
auto& c = arb::current;
siid = c.shapes[id].football_type >= 2;
sidir = c.shapes[id].football_type == 1;
if(!c.is_football_colorable) siid = 1;
}
else if(geometry == gBinary4) {