Added initialization for node location so if something goes wrong

with extresist, it does not have random numbers for node locations.
This commit is contained in:
Tim Edwards 2018-01-02 09:46:04 -05:00
parent 83c582290c
commit 6827b13ca3
1 changed files with 2 additions and 0 deletions

View File

@ -855,6 +855,8 @@ ResInitializeNode(entry)
node->oldname = NULL;
node->drivepoint.p_x = INFINITY;
node->drivepoint.p_y = INFINITY;
node->location.p_x = INFINITY;
node->location.p_y = INFINITY;
node->rs_sublist[0]=NULL;
node->rs_sublist[1]=NULL;
}