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:
parent
ed6cd3cec6
commit
470c4aed3d
@ -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) {
|
||||
ld area = PIU(cgi.gpdata->area);
|
||||
|
||||
if(GOLDBERG && S3 == 4)
|
||||
nom = 2 * (2*tv + 2 * ts * (cgi.gpdata->area-1));
|
||||
nom = 2 * (2*tv + (S3-2) * ts * (area-1));
|
||||
}
|
||||
#endif
|
||||
|
||||
int worldsize;
|
||||
|
Loading…
Reference in New Issue
Block a user