mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-03 23:33:01 +00:00 
			
		
		
		
	geom3:: fixed a bug with embedded maps being destroyed on restart
This commit is contained in:
		@@ -543,7 +543,7 @@ struct emb_same_in_same : emb_actual {
 | 
			
		||||
    for(int i=0; i<4; i++) T[i][2] = T[i][3], T[i][3] = 0;
 | 
			
		||||
    for(int i=0; i<4; i++) T[2][i] = T[3][i], T[3][i] = 0;
 | 
			
		||||
    T[3][3] = 1;
 | 
			
		||||
    fixmatrix(T);
 | 
			
		||||
    if(MDIM == 3) fixmatrix(T); else IPF(fixmatrix(T));
 | 
			
		||||
    for(int i=0; i<MDIM; i++) for(int j=0; j<MDIM; j++) if(isnan(T[i][j])) return Id;
 | 
			
		||||
    return T;
 | 
			
		||||
    }    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user