From df62b8604d7607947131a9d4c04a92d08954ca34 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 29 Mar 2009 19:18:10 +0200 Subject: [PATCH] Remove dead EASY_BRIDGES code from bridgefall() Dead since commit 40eb78eb, v4.3.12. --- src/lib/subs/bridgefall.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/subs/bridgefall.c b/src/lib/subs/bridgefall.c index fe408880..b2a026e7 100644 --- a/src/lib/subs/bridgefall.c +++ b/src/lib/subs/bridgefall.c @@ -85,6 +85,9 @@ bridgefall(struct sctstr *sp) int nnx; int nny; + if (CANT_HAPPEN(opt_EASY_BRIDGES)) + return; + for (i = 1; i <= 6; i++) { nx = sp->sct_x + diroff[i][0]; ny = sp->sct_y + diroff[i][1]; @@ -102,13 +105,6 @@ bridgefall(struct sctstr *sp) break; if (bh_sect.sct_type == SCT_BTOWER) 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) { knockdown(§);