mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 17:19:39 +00:00
Dialogue filter: search script variables case-insensitively
This commit is contained in:
parent
cac68c9e87
commit
ed9a9904b4
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ bool MWDialogue::Filter::testSelectStructNumeric (const SelectWrapper& select) c
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
for (; i<static_cast<int> (script->mVarNames.size()); ++i)
|
for (; i<static_cast<int> (script->mVarNames.size()); ++i)
|
||||||
if (script->mVarNames[i]==name)
|
if (Misc::StringUtils::lowerCase(script->mVarNames[i]) == name)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (i>=static_cast<int> (script->mVarNames.size()))
|
if (i>=static_cast<int> (script->mVarNames.size()))
|
||||||
|
|
Loading…
Reference in a new issue