mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead
This commit is contained in:
		| @@ -753,7 +753,7 @@ EX bool valid_dir(const vector<char>& ad, int j, cell *c) { | ||||
|   if(!bch) return ad[j] == 1; | ||||
|  | ||||
|   if(ad[j] != 2) return false; | ||||
|   auto ad1 = currentmap->dirdist(c, j); | ||||
|   auto ad1 = currentmap->get_cellshape(c).dirdist[j]; | ||||
|   int a = 0; | ||||
|   for(auto& dd: ad1) if(dd == 1) a++; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue