mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
fix floorshapes for non-football colorable arbs, and also set is_football_colorable correctly for converted ones
This commit is contained in:
@@ -2096,6 +2096,7 @@ EX void convert() {
|
|||||||
arb::compute_vertex_valence(ac);
|
arb::compute_vertex_valence(ac);
|
||||||
|
|
||||||
ac.have_ph = geosupport_football() ? 1 : 0;
|
ac.have_ph = geosupport_football() ? 1 : 0;
|
||||||
|
ac.is_football_colorable = geosupport_football() >= 2;
|
||||||
arb::check_football_colorability(ac);
|
arb::check_football_colorability(ac);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -408,6 +408,7 @@ void geometry_information::generate_floorshapes_for(int id, cell *c) {
|
|||||||
auto& c = arb::current;
|
auto& c = arb::current;
|
||||||
siid = c.shapes[id].football_type >= 2;
|
siid = c.shapes[id].football_type >= 2;
|
||||||
sidir = c.shapes[id].football_type == 1;
|
sidir = c.shapes[id].football_type == 1;
|
||||||
|
if(!c.is_football_colorable) siid = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(geometry == gBinary4) {
|
else if(geometry == gBinary4) {
|
||||||
|
Reference in New Issue
Block a user