Mercurial > hg > batmud > maputils
changeset 1792:76079d7293c7
Oops.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 29 Oct 2017 17:59:42 +0200 |
parents | 6ee732cab6ae |
children | e65dde84a6a8 |
files | mapsearch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mapsearch.c Sun Oct 29 17:18:56 2017 +0200 +++ b/mapsearch.c Sun Oct 29 17:59:42 2017 +0200 @@ -631,7 +631,7 @@ BOOL centerFound; // Parse pattern block dimensions - mapBlockGetDimensions(data, len - 10, &width, &height); + mapBlockGetDimensions(data, len, &width, &height); if (width <= 0 || height <= 0) { *verr = "Could not parse map block dimensions.";