mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	cdata is now initialized to 0, or ALL if reptilecheat is on
This commit is contained in:
		
							
								
								
									
										5
									
								
								cell.cpp
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								cell.cpp
									
									
									
									
									
								
							| @@ -1549,7 +1549,10 @@ cdata *getHeptagonCdata(heptagon *h) { | ||||
|   if(sphere || quotient) h = currentmap->gamestart()->master; | ||||
|  | ||||
|   if(h == currentmap->gamestart()->master) { | ||||
|     return h->cdata = new cdata(orig_cdata); | ||||
|     h->cdata = new cdata(orig_cdata); | ||||
|     for(int& v: h->cdata->val) v = 0; | ||||
|     h->cdata->bits = reptilecheat ? (1 << 21) - 1 : 0; | ||||
|     return h->cdata; | ||||
|     } | ||||
|    | ||||
|   cdata mydata = *getHeptagonCdata(h->move(0)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue