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

Return the actual topic the info came from

This commit is contained in:
Evil Eye 2023-06-24 11:40:25 +02:00
parent e406b13233
commit c5344b7069

View File

@ -726,7 +726,7 @@ std::vector<MWDialogue::Filter::Response> MWDialogue::Filter::list(
if (testActor(info) && testPlayer(info) && testSelectStructs(info) if (testActor(info) && testPlayer(info) && testSelectStructs(info)
&& testDisposition(info, invertDisposition)) && testDisposition(info, invertDisposition))
{ {
infos.emplace_back(&dialogue, &info); infos.emplace_back(&infoRefusalDialogue, &info);
if (!searchAll) if (!searchAll)
break; break;
} }