Don't use potentially invalid cache entry

7098-improve-post-process-behavior-with-transparent-objects
Evil Eye 2 years ago
parent 1924a3a694
commit 1c17260d87

@ -293,8 +293,7 @@ namespace MWDialogue
const ESM::Dialogue& dialogue = *dialogues.find(topic);
const ESM::DialInfo* info = mChoice == -1 && mActorKnownTopics.count(topic) ? mActorKnownTopics[topic].mInfo
: filter.search(dialogue, true);
const ESM::DialInfo* info = filter.search(dialogue, true);
if (info)
{

Loading…
Cancel
Save