improved debug output for level or artwork tree info dump
authorHolger Schemel <info@artsoft.org>
Sun, 5 Sep 2021 19:15:00 +0000 (21:15 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 5 Sep 2021 19:15:00 +0000 (21:15 +0200)
src/libgame/setup.c

index f6d5bd11ec24182d39d711d36be9e80a16a5cbac..7614db85fe2c3fd0f1a1391d36f6a16de5927b25 100644 (file)
@@ -1523,7 +1523,8 @@ int dumpTreeInfo(TreeInfo *node, int depth)
     DebugContinued("tree", "%c '%s' ['%s] [PARENT: '%s'] %s\n",
                   bullet, node->name, node->identifier,
                   (node->node_parent ? node->node_parent->identifier : "-"),
-                  (node->node_group ? "[GROUP]" : ""));
+                  (node->node_group ? "[GROUP]" :
+                   node->is_copy ? "[COPY]" : ""));
 
     if (!node->node_group && !node->parent_link)
       num_leaf_nodes++;