1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 19:45:34 +00:00

journal filter works now

This commit is contained in:
gugus 2012-03-18 21:47:43 +01:00
parent 9c85a8c1ce
commit ff5d4b24fc

View file

@ -318,7 +318,7 @@ namespace MWDialogue
case '4'://journal case '4'://journal
if(select.type==ESM::VT_Int) if(select.type==ESM::VT_Int)
{ {
if(!selectCompare<int,int>(comp,mEnvironment.mJournal->getJournalIndex(name),select.i)) return false; if(!selectCompare<int,int>(comp,mEnvironment.mJournal->getJournalIndex(toLower(name)),select.i)) return false;
} }
else else
throw std::runtime_error ( throw std::runtime_error (