mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-05 07:54:08 +00:00
fixed some lands generating incorrectly
This commit is contained in:
parent
6abb527854
commit
36034a1514
@ -704,6 +704,7 @@ void setLandWeird(cell *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setLandQuotient(cell *c) {
|
void setLandQuotient(cell *c) {
|
||||||
|
setland(c, specialland);
|
||||||
int fv = zebra40(c);
|
int fv = zebra40(c);
|
||||||
if(fv/4 == 4 || fv/4 == 6 || fv/4 == 5 || fv/4 == 10) fv ^= 2;
|
if(fv/4 == 4 || fv/4 == 6 || fv/4 == 5 || fv/4 == 10) fv ^= 2;
|
||||||
if(specialland == laWarpCoast)
|
if(specialland == laWarpCoast)
|
||||||
@ -722,6 +723,7 @@ void setLandQuotient(cell *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setLandSphere(cell *c) {
|
void setLandSphere(cell *c) {
|
||||||
|
setland(c, specialland);
|
||||||
if(specialland == laWarpCoast)
|
if(specialland == laWarpCoast)
|
||||||
setland(c, getHemisphere(c, 0) > 0 ? laWarpCoast : laWarpSea);
|
setland(c, getHemisphere(c, 0) > 0 ? laWarpCoast : laWarpSea);
|
||||||
if(specialland == laClearing)
|
if(specialland == laClearing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user