From 694ba4b27313744d535dd37b47154721caa7856f Mon Sep 17 00:00:00 2001 From: MysterD Date: Thu, 13 Apr 2023 22:38:32 -0700 Subject: [PATCH] Fixed crash in void geo_process_node_and_siblings() --- src/game/rendering_graph_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/rendering_graph_node.c b/src/game/rendering_graph_node.c index 207e0f23..95ac6e43 100644 --- a/src/game/rendering_graph_node.c +++ b/src/game/rendering_graph_node.c @@ -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; } }