mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	dirs_adjacent to S7 not 12
This commit is contained in:
		
							
								
								
									
										6
									
								
								reg3.cpp
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								reg3.cpp
									
									
									
									
									
								
							| @@ -249,10 +249,10 @@ EX namespace reg3 { | |||||||
|  |  | ||||||
|     compute_ultra(); |     compute_ultra(); | ||||||
|      |      | ||||||
|     for(int a=0; a<12; a++) |     for(int a=0; a<S7; a++) | ||||||
|     for(int b=0; b<12; b++) |     for(int b=0; b<S7; b++) | ||||||
|       if(cgi.dirs_adjacent[a][b])  |       if(cgi.dirs_adjacent[a][b])  | ||||||
|         for(int c=0; c<12; c++) |         for(int c=0; c<S7; c++) | ||||||
|           if(cgi.dirs_adjacent[a][c] && cgi.dirs_adjacent[b][c]) { |           if(cgi.dirs_adjacent[a][c] && cgi.dirs_adjacent[b][c]) { | ||||||
|             transmatrix t = build_matrix(tC0(cgi.adjmoves[a]), tC0(cgi.adjmoves[b]), tC0(cgi.adjmoves[c]), C0); |             transmatrix t = build_matrix(tC0(cgi.adjmoves[a]), tC0(cgi.adjmoves[b]), tC0(cgi.adjmoves[c]), C0); | ||||||
|             if(det(t) > 1e-3) cgi.next_dir[a][b] = c; |             if(det(t) > 1e-3) cgi.next_dir[a][b] = c; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue