Mercurial > hg > batmud > maputils
changeset 1810:72850f9a91dc
Oops, forgot this change from the strchr() related commit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 30 Oct 2017 00:06:29 +0200 |
parents | 364e5ae52398 |
children | 96912030d785 |
files | mapsearch.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mapsearch.c Mon Oct 30 00:05:13 2017 +0200 +++ b/mapsearch.c Mon Oct 30 00:06:29 2017 +0200 @@ -748,7 +748,7 @@ } // Find pattern center marker, if any - centerFound = mapBlockFindCenter(pattern, "*@", ¢erX, ¢erY, 20); + centerFound = mapBlockFindCenter(pattern, (unsigned char*) "*@", 2, ¢erX, ¢erY, 20); // Clean the pattern from characters we do not want to match mapBlockClean(pattern, optCleanChars);