mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 05:55:15 +00:00
Initialize graphNode->config.camera to NULL (fixes obscure crash)
This commit is contained in:
parent
a61436b2ca
commit
cadaf78699
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ struct GraphNodeCamera *init_graph_node_camera(struct AllocOnlyPool *pool,
|
|||
f32 *focus, GraphNodeFunc func, s32 mode) {
|
||||
if (pool != NULL) {
|
||||
graphNode = alloc_only_pool_alloc(pool, sizeof(struct GraphNodeCamera));
|
||||
graphNode->config.camera = NULL;
|
||||
}
|
||||
|
||||
if (graphNode != NULL) {
|
||||
|
|
Loading…
Reference in a new issue