mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +00:00
GOLDBERG world size no longer crashes the game in geom-exp
This commit is contained in:
parent
ed6cd3cec6
commit
470c4aed3d
10
geom-exp.cpp
10
geom-exp.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user