diff --git a/src/util/fairland.c b/src/util/fairland.c index 618cf7b2..3b13d0dc 100644 --- a/src/util/fairland.c +++ b/src/util/fairland.c @@ -953,10 +953,10 @@ elevate_land(void) else ELEV = HIGHMIN + rnd((256 - HIGHMIN) / 2) + rnd((256 - HIGHMIN) / 2); - } else if ((c < nc && - ((capx[c] == sectx[c][i] && capy[c] == secty[c][i]))) || - ((new_x(capx[c] + 2) == sectx[c][i] && - capy[c] == secty[c][i]))) + } else if (c < nc && + (((capx[c] == sectx[c][i] && capy[c] == secty[c][i])) || + ((new_x(capx[c] + 2) == sectx[c][i] && + capy[c] == secty[c][i])))) ELEV = PLATMIN; } }