Skip to content

Commit

Permalink
Check if link override entity is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsa1 committed Jan 20, 2024
1 parent f3db75a commit ae9593d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/df/core/df_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae9593d

Please sign in to comment.