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
1 changed files with 5 additions and 5 deletions

View File

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