mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 19:49:41 +00:00
fix
This commit is contained in:
parent
3472a6f180
commit
a95431c387
1 changed files with 5 additions and 0 deletions
|
@ -168,6 +168,11 @@ namespace MWScript
|
||||||
|
|
||||||
for (int i=0; i<script->mData.mNumFloats; ++i)
|
for (int i=0; i<script->mData.mNumFloats; ++i)
|
||||||
locals.declare ('f', script->mVarNames[index++]);
|
locals.declare ('f', script->mVarNames[index++]);
|
||||||
|
|
||||||
|
std::map<std::string, Compiler::Locals>::iterator iter =
|
||||||
|
mOtherLocals.insert (std::make_pair (name, locals)).first;
|
||||||
|
|
||||||
|
return iter->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw std::logic_error ("script " + name + " does not exist");
|
throw std::logic_error ("script " + name + " does not exist");
|
||||||
|
|
Loading…
Reference in a new issue