Nodes: Only bother saving a node .way file when we've got nodes to dump.
This commit is contained in:
parent
4cbcda6449
commit
d04d2a83ef
|
@ -178,7 +178,8 @@ Nodes_Init(void)
|
||||||
dprint(" ^2DONE\n");
|
dprint(" ^2DONE\n");
|
||||||
dprint(sprintf("[^2NODES^7] %i nodes found.\n", g_iNodes));
|
dprint(sprintf("[^2NODES^7] %i nodes found.\n", g_iNodes));
|
||||||
|
|
||||||
Nodes_Save(sprintf("%s.way", mapname));
|
if (g_iNodes)
|
||||||
|
Nodes_Save(sprintf("%s.way", mapname));
|
||||||
|
|
||||||
/* we don't need these any longer */
|
/* we don't need these any longer */
|
||||||
#ifndef NODE_DEBUG
|
#ifndef NODE_DEBUG
|
||||||
|
|
Loading…
Reference in New Issue