Unattaches a child from an attach point
| 674 | |
| 675 | // Unattaches a child from an attach point |
| 676 | bool UnattachChild(object *parent, char parent_ap) { |
| 677 | object *child; |
| 678 | |
| 679 | if ((child = ObjGet(parent->attach_children[parent_ap])) != NULL) { |
| 680 | return UnattachFromParent(child); |
| 681 | } |
| 682 | |
| 683 | return false; |
| 684 | } |
| 685 | |
| 686 | // Unattaches all children from a parent object |
| 687 | bool UnattachChildren(object *parent) { |
no test coverage detected