mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	gobot:: clear uninitialized indices on init_go_board
This commit is contained in:
		| @@ -59,6 +59,7 @@ void init_go_board() { | |||||||
|   current.captures[0] = 0; |   current.captures[0] = 0; | ||||||
|   current.captures[1] = 0; |   current.captures[1] = 0; | ||||||
|   shstream f; mapstream::save_geometry(f); current.geom = f.s; |   shstream f; mapstream::save_geometry(f); current.geom = f.s; | ||||||
|  |   indices.clear(); | ||||||
|   for(int i=0; i<isize(ac); i++) |   for(int i=0; i<isize(ac); i++) | ||||||
|     indices[ac[i]] = i; |     indices[ac[i]] = i; | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue