mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fix crash in geo_process_node_and_siblings()
This commit is contained in:
parent
8abae8d26b
commit
91b26646e0
1 changed files with 5 additions and 0 deletions
|
|
@ -1345,6 +1345,11 @@ void geo_process_node_and_siblings(struct GraphNode *firstNode) {
|
||||||
iterateChildren = (parent->type != GRAPH_NODE_TYPE_SWITCH_CASE);
|
iterateChildren = (parent->type != GRAPH_NODE_TYPE_SWITCH_CASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// sanity check
|
||||||
|
if (firstNode == NULL) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (curGraphNode->flags & GRAPH_RENDER_ACTIVE) {
|
if (curGraphNode->flags & GRAPH_RENDER_ACTIVE) {
|
||||||
if (curGraphNode->flags & GRAPH_RENDER_CHILDREN_FIRST) {
|
if (curGraphNode->flags & GRAPH_RENDER_CHILDREN_FIRST) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue