Fixed crash in void geo_process_node_and_siblings()

This commit is contained in:
MysterD 2023-04-13 22:38:32 -07:00
parent 01c379d50d
commit 694ba4b273
1 changed files with 1 additions and 1 deletions

View File

@ -1554,7 +1554,7 @@ void geo_process_node_and_siblings(struct GraphNode *firstNode) {
}
}
} else {
if (curGraphNode->type == GRAPH_NODE_TYPE_OBJECT) {
if (curGraphNode && curGraphNode->type == GRAPH_NODE_TYPE_OBJECT) {
((struct GraphNodeObject *) curGraphNode)->throwMatrix = NULL;
}
}