mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed a crash with irregular spherical maps
This commit is contained in:
		| @@ -178,6 +178,7 @@ struct hrmap_spherical : hrmap_standard { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|   transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override { |   transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override { | ||||||
|  |     if(IRREGULAR) return relative_matrix_via_masters(c2, c1, hint); | ||||||
|     transmatrix T = iso_inverse(get_where(c1)) * get_where(c2); |     transmatrix T = iso_inverse(get_where(c1)) * get_where(c2); | ||||||
|     if(elliptic) fixelliptic(T); |     if(elliptic) fixelliptic(T); | ||||||
|     return T; |     return T; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue