1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

MAXMDIM guard

This commit is contained in:
Zeno Rogue 2021-05-09 02:25:41 +02:00
parent 196f8fc97d
commit bdc428e8b1

View File

@ -4993,7 +4993,9 @@ EX void calcparam() {
realradius = min(realradius, cd->radius);
ld aradius = sphere ? cd->radius / (pconf.alpha - 1) : cd->radius;
#if MAXMDIM >= 4
if(euclid && rots::drawing_underlying) aradius *= 2.5;
#endif
if(dronemode) { cd->ycenter -= cd->radius; cd->ycenter += vid.fsize/2; cd->ycenter += vid.fsize/2; cd->radius *= 2; }