Fix typo in SameRace dialogue function (function was inverted, Fixes #3116)

pull/1/head
scrawl 9 years ago committed by Koncord
parent 5d4063d8c7
commit cd8c84dc6c

@ -478,7 +478,7 @@ bool MWDialogue::Filter::getSelectStructBoolean (const SelectWrapper& select) co
case SelectWrapper::Function_SameRace:
return !Misc::StringUtils::ciEqual(mActor.get<ESM::NPC>()->mBase->mRace, player.get<ESM::NPC>()->mBase->mRace);
return Misc::StringUtils::ciEqual(mActor.get<ESM::NPC>()->mBase->mRace, player.get<ESM::NPC>()->mBase->mRace);
case SelectWrapper::Function_SameFaction:

Loading…
Cancel
Save