mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 21:45:35 +00:00
Don't use potentially invalid cache entry
This commit is contained in:
parent
1e16900d97
commit
7e8da3dc9c
1 changed files with 1 additions and 3 deletions
|
@ -290,9 +290,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…
Reference in a new issue