mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +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); | ||||
|  | ||||
|   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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue