replaced product::product_sphere()

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:16 +02:00
parent dbc95ed7a4
commit d1bf6fef5e
9 changed files with 19 additions and 16 deletions
+2 -2
View File
@@ -288,7 +288,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
c->wall = waPalace;
}
if(d == 8 && (sphere || (hybri && product::product_sphere()))) {
if(d == 8 && (sphere || (hybri && hybrid::over_sphere()))) {
int gs = getHemisphere(c,0);
if(NONSTDVAR) {
int v = 1;
@@ -2705,7 +2705,7 @@ EX void setdist(cell *c, int d, cell *from) {
buildEquidistant(c);
}
if(d <= 7 && (c->land == laGraveyard || c->land == laHauntedBorder) && !(hybri && product::product_sphere())) {
if(d <= 7 && (c->land == laGraveyard || c->land == laHauntedBorder) && !(hybri && hybrid::over_sphere())) {
c->land = (c->landparam >= 1 && c->landparam <= HAUNTED_RADIUS) ? laHauntedBorder : laGraveyard;
}