mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-28 00:12: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:
parent
3e9a7a3303
commit
764dd134cc
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user