1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 09:50:34 +00:00

added MAXMDIM guard

This commit is contained in:
Zeno Rogue 2021-05-12 20:15:40 +02:00
parent bdc4671be4
commit 0678590e77

View File

@ -2783,7 +2783,9 @@ EX bool do_draw(cell *c, const shiftmatrix& T) {
return true;
}
#if MAXMDIM >= 4
if(rots::drawing_underlying && euclid && hdist0(tC0(T)) > 6) return false;
#endif
if(just_gmatrix && sphere) return true;
if(!do_draw(c)) return false;
if(euclid && pmodel == mdSpiral) {