mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed relative_matrix_recursive in some geoms
This commit is contained in:
		| @@ -42,7 +42,7 @@ EX transmatrix relative_matrix_recursive(heptagon *h2, heptagon *h1) { | |||||||
|       } |       } | ||||||
|     else { |     else { | ||||||
|       for(int i=0; i<h2->type; i++) if(h2->move(i) && h2->move(i)->distance < h2->distance) { |       for(int i=0; i<h2->type; i++) if(h2->move(i) && h2->move(i)->distance < h2->distance) { | ||||||
|         where = currentmap->iadj(h2, 0) * where; |         where = currentmap->iadj(h2, i) * where; | ||||||
|         h2 = h2->move(i); |         h2 = h2->move(i); | ||||||
|         goto again; |         goto again; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue