diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2016-12-24 15:46:13 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2016-12-24 15:46:13 +0100 |
commit | 8b4f0249e7f324cfa5d4f3a21df8efb4c3850ef9 (patch) | |
tree | c5fecd0dd6ed875f39fc58c4b1daed8aa8b3d526 /src/main.c | |
parent | fde7b92187b90c749d2ff8d0bf6cafb7b809317c (diff) |
Improve entity discarding.
Instead of discarding all team_* and info_* entities from all maps but the iirst one, discard all entities with the "mapcat_discard" key.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -118,8 +118,7 @@ int main(int argc, char **argv) goto out; } - // team_* and info_* ents are kept only in the first part - if (map_postprocess(&part, (input != inputs))) { + if (map_postprocess(&part)) { map_free(&map); map_free(&part); goto out; |