bridgefall: Clean up literal 20 to SCT_MINEFF
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Mar 2015 17:02:14 +0000 (18:02 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:53 +0000 (08:20 +0100)
Messed up in commit 4824648.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/bridgefall.c

index 4407a3a6169c6fa1c839fcaca8065f33829a0800..426bba7085a7c46af296b6ed4a299829113eb026 100644 (file)
@@ -67,7 +67,7 @@ bridge_support_at(struct sctstr *sp, int ignore_dir)
        if (opt_EASY_BRIDGES
            && sect.sct_type != SCT_WATER && sect.sct_type != SCT_BSPAN)
            return 1;
-       if (sect.sct_effic < 20)
+       if (sect.sct_effic < SCT_MINEFF)
            continue;
        if (sect.sct_type == SCT_BHEAD && sect.sct_newtype == SCT_BHEAD)
            return 1;