From bf6f54c0c2ac2f01183b6178d858d334b92b78e7 Mon Sep 17 00:00:00 2001 From: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com> Date: Sat, 4 May 2024 00:54:24 -0400 Subject: [PATCH] ...didn't mean to remove that --- src/npc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/npc.cpp b/src/npc.cpp index 07fd27e7370fb..693c3001b198b 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -3804,8 +3804,11 @@ void npc::update_missions_target( character_id old_character, character_id new_c const dialogue_chatbin_snippets &npc::chat_snippets() const { + if( idz.is_null() ) { static dialogue_chatbin_snippets dummy; return dummy; + } + return idz->snippets; } std::unique_ptr get_talker_for( npc &guy )