mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	rogueviz::fifteen:: fixed out of bounds array access
This commit is contained in:
		| @@ -93,9 +93,10 @@ void compute_triangle_markers() { | ||||
|  | ||||
|   println(hlog, triangle_markers); | ||||
|  | ||||
|   for(int i=0; i<isize(fif); i++) { | ||||
|   for(int i=0; i<isize(fif)-1; i++) { | ||||
|     turns.push_back(triangle_markers[i+1] == 0 ? 90._deg : 0); | ||||
|     } | ||||
|   turns.push_back(0); | ||||
|   } | ||||
|  | ||||
| string dotted(int i) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue