Nodes: Only bother saving a node .way file when we've got nodes to dump.
This commit is contained in:
parent
4cbcda6449
commit
d04d2a83ef
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ Nodes_Init(void)
|
|||
dprint(" ^2DONE\n");
|
||||
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 */
|
||||
#ifndef NODE_DEBUG
|
||||
|
|
Loading…
Reference in a new issue