Mercurial > hg > batmud > maputils
changeset 2496:4b4ea2829e7e
Oops, actually load the maps ..
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Jun 2023 01:46:44 +0300 |
parents | 72a3b687e6ce |
children | a4afed6feeeb |
files | src/mapsearch.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mapsearch.c Mon Jun 19 01:33:05 2023 +0300 +++ b/src/mapsearch.c Wed Jun 21 01:46:44 2023 +0300 @@ -1698,11 +1698,14 @@ return res; } + bool mapLoadMaps(void) { mapMSG(1, "Trying to load %d map specs. World origin at [%d, %d].\n", optNMaps, optWorldXC, optWorldYC); + if (!mapLoadMapsData()) + return false; // Get total number of non-invis locations optNMapLocations = 0;