mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
added verification for explicit references (check if the given ID exists)
This commit is contained in:
parent
d4ac3b506e
commit
c37b007be0
7 changed files with 43 additions and 4 deletions
|
@ -275,7 +275,7 @@ namespace Compiler
|
|||
return true;
|
||||
}
|
||||
|
||||
if (mOperands.empty() && mOperators.empty() && mExplicit.empty())
|
||||
if (mExplicit.empty() && getContext().isId (name))
|
||||
{
|
||||
mExplicit = name;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue