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:
parent
83c582290c
commit
6827b13ca3
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue