fix VC++ parser bug

This commit is contained in:
David Rose 2001-06-08 23:07:12 +00:00
parent ae9976c902
commit 031868d9a4
1 changed files with 2 additions and 1 deletions

View File

@ -997,7 +997,8 @@ remove_node() {
// Set the chain to stop here, so that any NodePaths sharing this
// one will now begin at this "deleted" node.
(*_head) = ArcComponent(dnode);
ArcComponent here(dnode.p());
(*_head) = here;
// Now remove our own chain reference. If there were no other
// sharing NodePaths, this will also delete the complete chain,