mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fix crash on binary tiling
This commit is contained in:
		| @@ -321,6 +321,7 @@ void geometry_information::bshape_regular(floorshape &fsh, int id, int sides, ld | |||||||
|      |      | ||||||
|     for(auto p: allsides) { |     for(auto p: allsides) { | ||||||
|       for(int i=0; i<c->type; i++) { |       for(int i=0; i<c->type; i++) { | ||||||
|  |         sizeto(fsh.side[p], c->type); | ||||||
|         sizeto(fsh.side[p][i], id); |         sizeto(fsh.side[p][i], id); | ||||||
|         bshape(fsh.side[p][i][id], PPR::FLOOR_SIDE); |         bshape(fsh.side[p][i][id], PPR::FLOOR_SIDE); | ||||||
|         hyperpoint h0 = bt::get_corner_horo_coordinates(c, i) * size; |         hyperpoint h0 = bt::get_corner_horo_coordinates(c, i) * size; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue