Mercurial > hg > batmud > maputils
changeset 1876:6661014bc6c1
Rename mapBlockGetDimensions() to mapBlockParseDimensions()
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 04 Nov 2017 18:46:41 +0200 |
parents | cfa171f52c3d |
children | 14af1881e1df |
files | mapsearch.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mapsearch.c Sat Nov 04 18:46:03 2017 +0200 +++ b/mapsearch.c Sat Nov 04 18:46:41 2017 +0200 @@ -554,7 +554,7 @@ } -void mapBlockGetDimensions(const unsigned char *data, const size_t len, int *width, int *height) +void mapBlockParseDimensions(const unsigned char *data, const size_t len, int *width, int *height) { size_t offs = 0; int x1 = 0, x2 = 0; @@ -819,7 +819,7 @@ offs++; // Parse pattern block dimensions - mapBlockGetDimensions(data + offs, len - offs, &width, &height); + mapBlockParseDimensions(data + offs, len - offs, &width, &height); if (width <= 0 || height <= 0) { *verr = "Could not parse map block dimensions.";