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-861f7616d084master
parent
b8268b2370
commit
7a9da735e2
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue