Mercurial > hg > batmud > gmap2
changeset 88:0aeb58e12384 gmap2
Ignore non-worldmap maps (such as hcbat map, etc.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 16 Oct 2011 01:29:08 +0300 |
parents | 4e7d0bc500c4 |
children | eda395037855 |
files | tools/makegmaps.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/makegmaps.php Sun Oct 16 01:28:35 2011 +0300 +++ b/tools/makegmaps.php Sun Oct 16 01:29:08 2011 +0300 @@ -164,7 +164,7 @@ $args = ""; foreach ($continentList as $name => $data) { - if ($data[4]) { // has a map + if ($data[4] && $data[7]) { // has a map $args .= "-l ".escapeshellarg($locPath.$name.".loc")." ". "-c ".escapeshellarg($data[0])." ".