1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-23 06:41:08 +00:00
This commit is contained in:
Marc Zinnschlag 2013-02-23 20:20:40 +01:00
parent 3472a6f180
commit a95431c387

View File

@ -168,6 +168,11 @@ namespace MWScript
for (int i=0; i<script->mData.mNumFloats; ++i)
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");