mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed a serious bug (it caused crashes in Solv racing, but it could cause other issues too)
This commit is contained in:
		
							
								
								
									
										4
									
								
								cell.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								cell.cpp
									
									
									
									
									
								
							| @@ -39,7 +39,9 @@ struct hrmap { | ||||
|   virtual struct transmatrix adj(cell *c, int i) { return adj(c->master, i); } | ||||
|   virtual struct transmatrix adj(heptagon *h, int i); | ||||
|   struct transmatrix iadj(cell *c, int i) { cell *c1 = c->cmove(i); return adj(c1, c->c.spin(i)); } | ||||
|   transmatrix iadj(heptagon *h, int d) { return adj(h->cmove(d), h->c.spin(d)); } | ||||
|   transmatrix iadj(heptagon *h, int d) {  | ||||
|     heptagon *h1 = h->cmove(d); return adj(h1, h->c.spin(d)); | ||||
|     } | ||||
|   virtual void draw() { | ||||
|     printf("undrawable\n"); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue