Mercurial > hg > batmud > maputils
changeset 1823:599ef33b918d
Adjust minimum entropy thresholds.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 30 Oct 2017 15:06:20 +0200 |
parents | 892d5277f1ff |
children | 42cf6bb20f1f |
files | mapsearch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mapsearch.c Mon Oct 30 12:55:21 2017 +0200 +++ b/mapsearch.c Mon Oct 30 15:06:20 2017 +0200 @@ -736,7 +736,7 @@ int entropy = mapBlockGetEntropy(pattern, optCleanChars, strlen(optCleanChars)); if ((entropy < 2 && width < 10 && height < 10) || - (entropy < 3 && width * height < 6)) + (entropy < 3 && width * height < 4)) { *verr = "Search block entropy insufficient."; goto out;