mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-28 18:04:52 +00:00
geom3:: fixed a bug with embedded maps being destroyed on restart
This commit is contained in:
parent
d2d6167eb9
commit
548e2609ce
@ -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[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;
|
for(int i=0; i<4; i++) T[2][i] = T[3][i], T[3][i] = 0;
|
||||||
T[3][3] = 1;
|
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;
|
for(int i=0; i<MDIM; i++) for(int j=0; j<MDIM; j++) if(isnan(T[i][j])) return Id;
|
||||||
return T;
|
return T;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user