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

GOLDBERG world size no longer crashes the game in geom-exp

This commit is contained in:
Zeno Rogue 2020-05-15 17:30:21 +02:00
parent ed6cd3cec6
commit 470c4aed3d

View File

@ -616,11 +616,11 @@ EX void showEuclideanMenu() {
int denom = (2*ts + 2*tv - ts * tv); int denom = (2*ts + 2*tv - ts * tv);
#if CAP_GP #if CAP_GP
if(GOLDBERG && S3) if(GOLDBERG) {
nom = 2 * (2*tv + ts * (cgi.gpdata->area-1)); ld area = PIU(cgi.gpdata->area);
if(GOLDBERG && S3 == 4) nom = 2 * (2*tv + (S3-2) * ts * (area-1));
nom = 2 * (2*tv + 2 * ts * (cgi.gpdata->area-1)); }
#endif #endif
int worldsize; int worldsize;