Remove dead EASY_BRIDGES code from bridgefall()
Dead since commit 40eb78eb
, v4.3.12.
This commit is contained in:
parent
2adb88202f
commit
df62b8604d
1 changed files with 3 additions and 7 deletions
|
@ -85,6 +85,9 @@ bridgefall(struct sctstr *sp)
|
||||||
int nnx;
|
int nnx;
|
||||||
int nny;
|
int nny;
|
||||||
|
|
||||||
|
if (CANT_HAPPEN(opt_EASY_BRIDGES))
|
||||||
|
return;
|
||||||
|
|
||||||
for (i = 1; i <= 6; i++) {
|
for (i = 1; i <= 6; i++) {
|
||||||
nx = sp->sct_x + diroff[i][0];
|
nx = sp->sct_x + diroff[i][0];
|
||||||
ny = sp->sct_y + diroff[i][1];
|
ny = sp->sct_y + diroff[i][1];
|
||||||
|
@ -102,13 +105,6 @@ bridgefall(struct sctstr *sp)
|
||||||
break;
|
break;
|
||||||
if (bh_sect.sct_type == SCT_BTOWER)
|
if (bh_sect.sct_type == SCT_BTOWER)
|
||||||
break;
|
break;
|
||||||
/* With EASY_BRIDGES, it just has to be next to any
|
|
||||||
land */
|
|
||||||
if (opt_EASY_BRIDGES) {
|
|
||||||
if (bh_sect.sct_type != SCT_WATER &&
|
|
||||||
bh_sect.sct_type != SCT_BSPAN)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (j > 6) {
|
if (j > 6) {
|
||||||
knockdown(§);
|
knockdown(§);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue