mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-12-05 04:25:17 +00:00
added MAXMDIM guard
This commit is contained in:
1 parent
bdc4671be4
commit
0678590e77
1 file changed
+2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user