mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 20:49:41 +00:00
fixed member variable access in OpenCS script compiler (Fixes #2011)
This commit is contained in:
parent
02acf60c0b
commit
8062faa51a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ std::pair<char, bool> CSMWorld::ScriptContext::getMemberType (const std::string&
|
||||||
int index = mData.getScripts().searchId (id2);
|
int index = mData.getScripts().searchId (id2);
|
||||||
bool reference = false;
|
bool reference = false;
|
||||||
|
|
||||||
if (index!=-1)
|
if (index==-1)
|
||||||
{
|
{
|
||||||
// ID is not a script ID. Search for a matching referenceable instead.
|
// ID is not a script ID. Search for a matching referenceable instead.
|
||||||
index = mData.getReferenceables().searchId (id2);
|
index = mData.getReferenceables().searchId (id2);
|
||||||
|
|
Loading…
Reference in a new issue