1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00

tes:: check_football_colorabilty is disabled if valence not known

This commit is contained in:
Zeno Rogue 2022-10-08 00:18:56 +02:00
parent 9284cb237a
commit 29f6bbbe90

View File

@ -656,7 +656,7 @@ EX void compute_vertex_valence(arb::arbi_tiling& ac) {
EX bool extended_football = true;
EX void check_football_colorability(arbi_tiling& c) {
if(cgflags & qAFFINE) return;
if(!c.have_valence) return;
for(auto&sh: c.shapes) for(auto v: sh.vertex_valence)
if(v % 3) return;