From 764dd134cca4b7fc907927b6a3c6d127bb520291 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 19 Aug 2025 10:46:34 +0200 Subject: [PATCH] fix floorshapes for non-football colorable arbs, and also set is_football_colorable correctly for converted ones --- arbitrile.cpp | 1 + floorshapes.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/arbitrile.cpp b/arbitrile.cpp index 1ca81a1f..0352ba9c 100644 --- a/arbitrile.cpp +++ b/arbitrile.cpp @@ -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); } diff --git a/floorshapes.cpp b/floorshapes.cpp index dd3ef342..c1a59dd4 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -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) {