From ae9593d37804513a745991a61ec275dcefe9674f Mon Sep 17 00:00:00 2001 From: Tony L <13787455+tonsa1@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:59:36 +0200 Subject: [PATCH] Check if link override entity is nil --- src/df/core/df_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/df/core/df_core.c b/src/df/core/df_core.c index f7f95fe59..6cd542773 100644 --- a/src/df/core/df_core.c +++ b/src/df/core/df_core.c @@ -2223,6 +2223,7 @@ df_possible_overrides_from_entity(Arena *arena, DF_Entity *entity) // rjf: descend tree if needed, by the chain names, find override DF_Entity *override = link_overridden_sibling; + if(!df_entity_is_nil(override)) { DF_Entity *parent = override; for(String8Node *path_part_n = p_chain_names_to_entity.first;