We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8758d3 commit a78a6bfCopy full SHA for a78a6bf
Actions.cpp
@@ -44,6 +44,8 @@ void Extension::RemoveSubnode(const char *Name)
44
}
45
void Extension::RemoveNodeByID(int ID)
46
{
47
+ if(ID == 0) return;
48
+ if(ID == cur->ID) ReturnToRoot();
49
for(std::map<int, SDNode *>::const_iterator it = SDNode::Nodes.begin(); it != SDNode::Nodes.end(); ++it)
50
51
for(SDNode::nmt::iterator jt = it->second->nm.begin(); jt != it->second->nm.end();)
0 commit comments