Mercurial > hg > batmud > maputils
changeset 1847:91ec11702055
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 01 Nov 2017 02:16:45 +0200 |
parents | 0c5cce86debb |
children | f13d9fc4aaec |
files | mapsearch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mapsearch.c Wed Nov 01 02:16:24 2017 +0200 +++ b/mapsearch.c Wed Nov 01 02:16:45 2017 +0200 @@ -758,13 +758,13 @@ goto out; } - if (width * height > 400) { *verr = "Search block pattern too large."; goto out; } + // Allocate and attempt to parse if ((pattern = mapBlockAlloc(width, height)) == NULL) goto out;