1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

3d:: fixed switching to mdPerspsective

This commit is contained in:
Zeno Rogue 2019-03-20 21:17:49 +01:00
parent f399a8c980
commit 1521af65fe

View File

@ -1197,7 +1197,7 @@ void set_geometry(eGeometry target) {
#if CAP_BT
if(geometry == gBinaryTiling || DIM == 3) variation = eVariation::pure;
#endif
if(DIM == 3 && old_DIM == 3 && pmodel == mdDisk) pmodel = mdPerspective;
if(DIM == 3 && old_DIM == 2 && pmodel == mdDisk) pmodel = mdPerspective;
if(DIM == 2 && pmodel == mdPerspective) pmodel = mdDisk;
need_reset_geometry = true;