1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 21:35:24 +00:00

Merge branch 'specifically_insensitive' into 'master'

Use ciEqual to determine actor-specific answers

Closes #6055

See merge request OpenMW/openmw!912
This commit is contained in:
psi29a 2021-05-27 16:43:24 +00:00
commit 1ec9d471a2

View File

@ -343,7 +343,7 @@ namespace MWDialogue
if(!inJournal(topicId, answer->mId))
{
// Does this dialogue contains some actor-specific answer?
if (answer->mActor == mActor.getCellRef().getRefId())
if (Misc::StringUtils::ciEqual(answer->mActor, mActor.getCellRef().getRefId()))
flag |= MWBase::DialogueManager::TopicType::Specific;
}
else