mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	rug now works correctly with distance > 7
This commit is contained in:
		
							
								
								
									
										4
									
								
								rug.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								rug.cpp
									
									
									
									
									
								
							| @@ -578,8 +578,8 @@ void buildRug() { | |||||||
|  |  | ||||||
|   map<cell*, rugpoint *> vptr; |   map<cell*, rugpoint *> vptr; | ||||||
|    |    | ||||||
|   for(cell *c: cl.lst) |   for(int i=0; i<size(cl.lst); i++) | ||||||
|     vptr[c] = addRugpoint(shmup::ggmatrix(c)*C0, c->cpdist); |     vptr[cl.lst[i]] = addRugpoint(shmup::ggmatrix(cl.lst[i])*C0, cl.dists[i]); | ||||||
|  |  | ||||||
|   for(auto& p: vptr) { |   for(auto& p: vptr) { | ||||||
|     cell *c = p.first; |     cell *c = p.first; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue