1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

2D3D:: fixed a crash in Euclidean+Archimedean+2.5D

This commit is contained in:
Zeno Rogue 2019-05-15 09:38:11 +02:00
parent e2ef8932fa
commit 6e92cba9fe

View File

@ -1203,7 +1203,7 @@ void optimizeview() {
heptagon *h2 = createStep(viewctr.at, i1);
transmatrix T = currentmap->relative_matrix(h2, viewctr.at);
#if MAXMDIM >= 4
if(euclid && DIM == 3)
if(euclid && WDIM == 3)
T = euclid3::move_matrix(viewctr.at->c7, i);
#endif
hyperpoint H = View * tC0(T);