map2lnd: Fix bug in setting the number of objects in the exported map.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6818 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2009-03-08 17:15:14 +00:00
parent b8268b2370
commit 7a9da735e2
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ int main(int argc, char **argv)
MADD("ObjectList {");
MADD(" Version 3");
MADD(" FeatureSet %s", tilesetDataSet[map->tileset]);
MADD(" NumObjects %d", (int)map->numFeatures);
MADD(" NumObjects %u", map->numFeatures + map->numStructures + map->numDroids);
MADD(" Objects {");
for (x = IMD_FEATURE; x < IMD_OBJECT; x++)
{